diff options
author | Saravanakumar Arumugam <sarumuga@redhat.com> | 2016-05-30 17:34:24 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-05-31 03:19:12 -0700 |
commit | d6442d8f4ac6d892cf5adc55ea5c34dcb01e1f26 (patch) | |
tree | baf1d34d8e6e76441d06b7ad1988fdbfb29ecf33 /api | |
parent | c3fdf4d973da6ffead7b316e7629f62a6139eb30 (diff) |
geo-rep: update peers section in gsyncd conf
Problem:
Once Slave volume uuid is involved as part of a geo-rep session, it is
possible to create the same geo-rep session with different (slave)host.
But, it reflects default values for geo-rep configuration values originally
configured for old geo-rep session.
Reason is, slave host is used while saving config options in gsyncd.conf.
With new slave host, it is not possible to retrieve those config values.
Solution:
Remove slave host related information from gsyncd.conf and have only master
volume and slave volume as part of peers section.
Also, during upgrade from old geo-rep session, update peers section to
reflect only master volume and slave volume.
Change-Id: I7debf35a09a28d030b706b0c3e5d82c9b0467d0e
BUG: 1340853
Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
Reviewed-on: http://review.gluster.org/14558
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions