From fa445b44c66eeebc09a3df74d5e924037a3d89c6 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 29 Apr 2011 06:24:41 +0000 Subject: glusterd / geo-rep: set session owner to the uuid of the master vol instead of that of glusterd Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2785 (gsyncd logs on slave side go to /dev/null) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785 --- xlators/mgmt/glusterd/src/glusterd.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd.c') diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index c7c5088db..28c0a597d 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -355,7 +355,6 @@ configure_syncdaemon (glusterd_conf_t *conf) #if SYNCDAEMON_COMPILE char georepdir[PATH_MAX] = {0,}; char cmd[2*PATH_MAX + 1024] = {0,}; - char volid[64] = {0,}; int blen = 0; ret = setenv ("_GLUSTERD_CALLED_", "1", 1); @@ -421,13 +420,6 @@ configure_syncdaemon (glusterd_conf_t *conf) if (ret) goto out; - /* session-owner */ - uuid_unparse (conf->uuid, volid); - sprintf (cmd + blen, "session-owner %s . .", volid); - ret = system (cmd); - if (ret) - goto out; - /* pid-file */ sprintf (cmd + blen, "pid-file %s/${mastervol}/${eSlave}.pid . .", georepdir); ret = gf_system (cmd); -- cgit