From 13d1856a40122008dee35a96771f832945c220f8 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 13 Apr 2011 01:46:04 +0000 Subject: syncdaemon: streamline user-visible messages (and control flow a bit, too) Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2644 (no volume-mark, if the behaviour persists have to check if master gsyncd is running.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2644 --- xlators/features/marker/utils/syncdaemon/resource.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xlators/features/marker/utils/syncdaemon/resource.py') diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index d1df57d01..9bf1e441d 100644 --- a/xlators/features/marker/utils/syncdaemon/resource.py +++ b/xlators/features/marker/utils/syncdaemon/resource.py @@ -220,8 +220,6 @@ class Server(object): tuple(int(x,16) for x in re.findall('(?:[\da-f]){2}', dct['uuid'])) + (dct['retval'],) + dct['volume_mark'][0:2] + (dct['timeout'],))) Xattr.lsetxattr('.', key, val) - else: - logging.info('no volume-mark, if the behaviour persists have to check if master gsyncd is running') cls.last_keep_alive += 1 return cls.last_keep_alive @@ -427,7 +425,7 @@ class GLUSTER(AbstractUrl, SlaveLocal, SlaveRemote): def service_loop(self, *args): if args: - GMaster(self, args[0]).crawl() + GMaster(self, args[0]).crawl_loop() else: sup(self, *args) -- cgit