summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2013-09-10 12:56:55 +0530
committerVijay Bellur <vbellur@redhat.com>2013-09-10 03:41:16 -0700
commit367e9b922c2a50b862fc166cb7e9f238a9c40ab1 (patch)
treea60222ea88ef9b80937fb1f8be1ff85151b97f0b
parent1f7469164a8d8fb0e031078073465b59c4334752 (diff)
glusterd: Added missing MY_UUID conversion in gsync staging
Change-Id: Ia4bf607e044d50636fb0a599a2ff91059f5b17aa BUG: 1006177 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/5887 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-geo-rep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
index 05599989813..618aa426677 100644
--- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
+++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
@@ -2042,6 +2042,8 @@ glusterd_op_stage_gsync_set (dict_t *dict, char **op_errstr)
if (ret)
goto out;
+ uuid_utoa_r (MY_UUID, uuid_str);
+
if (conf->op_version < 2) {
gf_log ("", GF_LOG_ERROR, "Op Version not supported.");
snprintf (errmsg, sizeof(errmsg), "One or more nodes do not"