diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-13 01:46:04 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-13 04:43:02 -0700 |
commit | 13d1856a40122008dee35a96771f832945c220f8 (patch) | |
tree | e8a94a012e36987cec92fc2422b0e2420cbcf5af /xlators/features/marker/utils/syncdaemon/resource.py | |
parent | ea2e55bae0203b00dc4872a3333dce84cf7bef7d (diff) |
syncdaemon: streamline user-visible messages (and control flow a bit, too)
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
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
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/resource.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/resource.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index d1df57d0195..9bf1e441dc6 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) |