From 248a1b7d387832dd97f43eb74b8b9d168292f3a0 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 14 Feb 2011 16:42:03 +0000 Subject: syncdaemon: use "ping" message instead of "__version__" to wait for remote to come up Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 2424 (Starting gsyncd with --debug : AttributeError: type object 'FILEServer' has no attribute '__version__') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2424 --- xlators/features/marker/utils/syncdaemon/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features') diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index afafd5414..1005e4086 100644 --- a/xlators/features/marker/utils/syncdaemon/resource.py +++ b/xlators/features/marker/utils/syncdaemon/resource.py @@ -428,7 +428,7 @@ class SSH(AbstractUrl, SlaveRemote): # in daemon), we just do a an ad-hoc linear put/get. i, o = ret inf = os.fdopen(i) - repce.send(o, None, '__version__') + repce.send(o, None, 'ping') select.select((inf,), (), ()) repce.recv(inf) # hack hack hack: store a global reference to the file -- cgit