diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-29 06:24:45 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-09 13:27:03 -0700 |
commit | 6f2ed82bfcfe494ef273bff55cf69480a7472cc5 (patch) | |
tree | e911f81c9bcc82628b3dc3e651616349dbc0f6b3 /xlators/features/marker/utils/syncdaemon/master.py | |
parent | 9ffd9c51f3833e04a60373648ba3c69c2ed7a68a (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
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/master.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/master.py | 3 |
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(): |