diff options
author | Kotresh HR <khiremat@redhat.com> | 2015-06-23 10:38:27 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-06-24 23:40:42 -0700 |
commit | 461c66eb6a5d647fd265b34a8045e54e017446e0 (patch) | |
tree | e029d7783e8cb9f694edbb7c8d81f4602f653bf2 /geo-replication/syncdaemon | |
parent | ef374774b8727b2f76915a1f88b26c83c77dde43 (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.
Change-Id: Iecf732197926bf9ce69112287fccbb1c34e58e6d
BUG: 1234694
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/11358
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon')
-rw-r--r-- | geo-replication/syncdaemon/master.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |