summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-29 06:24:41 +0000
committerAnand Avati <avati@gluster.com>2011-05-09 13:26:51 -0700
commitfa445b44c66eeebc09a3df74d5e924037a3d89c6 (patch)
treeb99e6d8bdc9916a77d47472908572998c90be8cf /xlators/mgmt/glusterd/src/glusterd.c
parent97fdc05ab86ca2af992c42b09ed40413be2ef0d8 (diff)
glusterd / geo-rep: set session owner to the uuid of the master vol instead of that of glusterd
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2785 (gsyncd logs on slave side go to /dev/null) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c8
1 files changed, 0 insertions, 8 deletions
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);