diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2013-03-20 17:33:10 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-05-02 09:57:24 -0700 |
commit | 254181428e5c6f7e689bbceaddf434116960faab (patch) | |
tree | 2afdb93b276298dedfeb691b00c410e5f00c63f9 /xlators/mgmt/glusterd/src/glusterd-sm.c | |
parent | b6e10801bee030fe7fcd1ec3bfac947ce44d023d (diff) |
glusterd: Log hostname of the peer where there is cksum/version mismatch
Change-Id: I08065aaa3c140d4b02af4ca38f5f4d00d7f0c2bb
BUG: 958739
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/4937
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-sm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.c b/xlators/mgmt/glusterd/src/glusterd-sm.c index a82ca2e176f..47e559e748b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-sm.c @@ -650,7 +650,8 @@ glusterd_ac_handle_friend_add_req (glusterd_friend_sm_event_t *event, void *ctx) uuid_copy (peerinfo->uuid, ev_ctx->uuid); //Build comparison logic here. - ret = glusterd_compare_friend_data (ev_ctx->vols, &status); + ret = glusterd_compare_friend_data (ev_ctx->vols, &status, + peerinfo->hostname); if (ret) goto out; |