diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-29 06:24:41 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-09 13:26:51 -0700 |
commit | fa445b44c66eeebc09a3df74d5e924037a3d89c6 (patch) | |
tree | b99e6d8bdc9916a77d47472908572998c90be8cf /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 97fdc05ab86ca2af992c42b09ed40413be2ef0d8 (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-op-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |