summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2015-06-23 10:38:27 +0530
committerVenky Shankar <vshankar@redhat.com>2015-06-25 10:15:41 -0700
commit30e2976cd6f56c661e8e3d97eec2ba23937ff23e (patch)
treeee0838371b43223c12c84b75dd76fa7c0a6011ad /geo-replication
parent9230ae2bd02672a91e61b3ea98a2c2a662f21862 (diff)
geo-rep: Fix toggling of use_meta_volume config
If meta-volume is deleted and use_meta_volume is set to false, geo-rep still fails complaining meta volume is not mounted. The patch fixes that issue. BUG: 1234695 Change-Id: I5ec7ad85399b90e85bca1d36750dd3fb29222db9 Reviewe-On: http://review.gluster.org/11358 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/11359 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r--geo-replication/syncdaemon/master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py
index e05dc376662..ec79f823ed3 100644
--- a/geo-replication/syncdaemon/master.py
+++ b/geo-replication/syncdaemon/master.py
@@ -476,7 +476,7 @@ class GMasterCommon(object):
return True
def should_crawl(self):
- if not gconf.use_meta_volume:
+ if not boolify(gconf.use_meta_volume):
return gconf.glusterd_uuid in self.master.server.node_uuid()
if not os.path.ismount(gconf.meta_volume_mnt):