From 461c66eb6a5d647fd265b34a8045e54e017446e0 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 23 Jun 2015 10:38:27 +0530 Subject: 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. Change-Id: Iecf732197926bf9ce69112287fccbb1c34e58e6d BUG: 1234694 Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/11358 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Aravinda VK --- geo-replication/syncdaemon/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geo-replication/syncdaemon/master.py') diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index dc54de39be1..6c96a02a74b 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): -- cgit