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-op-sm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 5954a7b6f0f..7a187963d0d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -4342,7 +4342,7 @@ glusterd_check_restart_gsync_session (glusterd_volinfo_t *volinfo, char *slave) " retart the process"); } - ret = glusterd_start_gsync (volinfo->volname, slave, + ret = glusterd_start_gsync (volinfo, slave, uuid_utoa(priv->uuid), NULL); if (ret) goto out; @@ -4617,7 +4617,7 @@ glusterd_op_gsync_set (dict_t *dict, char **op_errstr, dict_t *rsp_dict) if (ret) goto out; - ret = glusterd_start_gsync (volname, slave, host_uuid, + ret = glusterd_start_gsync (volinfo, slave, host_uuid, op_errstr); } -- cgit