diff options
author | Shwetha K Acharya <sacharya@redhat.com> | 2019-05-29 16:49:01 +0530 |
---|---|---|
committer | Sunny Kumar <sunkumar@redhat.com> | 2019-06-26 14:10:56 +0000 |
commit | f782881f825efcd4ab3b74209c1c7aca3796023b (patch) | |
tree | a352444d38aaeda6ecfc7579100a0a2753c55ffc /xlators/features/shard/src/shard.c | |
parent | 5cbc87d8b8f1287e81c38b793b8d13b057208c62 (diff) |
geo-rep: Upgrading config file to new version
- configuration handling is enhanced with patch
https://review.gluster.org/#/c/glusterfs/+/18257/
- hence, the old configurations are not applied when
Geo-rep session is created in the old version and upgraded.
This patch solves the issue. It,
- checks if the config file is old.
- parses required values from old config file and stores in new
config file, which ensures that configerations are applied on
upgrade.
- stores old config file as backup.
- handles changes in options introduced in
https://review.gluster.org/#/c/glusterfs/+/18257/
fixes: bz#1707731
Change-Id: Iad8da6c1e1ae8ecf7c84dfdf8ea3ac6966d8a2a0
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
Diffstat (limited to 'xlators/features/shard/src/shard.c')
0 files changed, 0 insertions, 0 deletions