summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/master.py
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-05-31 11:06:54 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 10:01:41 -0700
commita2b30a1848ee69854c1de87cd1e3d1d74e96a964 (patch)
tree7e95edf1b1c8af125be4f04f8ed8b96ac99848b1 /xlators/features/marker/utils/syncdaemon/master.py
parente58cb9aa2f21b6453f9533a174fae0cbfda1e98c (diff)
syncdaemon: some refactor on monitor
- detect faulty state early - keep the feedback fd in gsyncd module Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2537 (gsync autorestart) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2537 BUG: 2537 (gsync autorestart) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2537
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/master.py')
-rw-r--r--xlators/features/marker/utils/syncdaemon/master.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py
index 76f924ed3..35dc4ee06 100644
--- a/xlators/features/marker/utils/syncdaemon/master.py
+++ b/xlators/features/marker/utils/syncdaemon/master.py
@@ -87,9 +87,6 @@ class GMaster(object):
self.terminate = False
def crawl_loop(self):
- ffd = getattr(gconf, 'feedback_fd', None)
- if ffd:
- os.close(int(ffd))
timo = int(gconf.timeout or 0)
if timo > 0:
def keep_alive():