summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2016-03-22 16:32:32 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-03-28 21:43:35 -0700
commitd0cb21b5e3dd90a851e43bcfac9b1b2edf3db9c2 (patch)
treed708a3613d9445ffc87f654152d1a7165b64a2de /xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
parentb67e569b3906d99677a1349cb82668f9088cf4eb (diff)
glusterd: Add a new event to handle multi-net probes
This allows GlusterD to send updates to all other nodes when attaching new addresses using multi-net peer probe. Change-Id: I62846be750ab3721912e7b49656594347ea61723 BUG: 1320458 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/13817 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rpc-ops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rpc-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
index 39941d17b8a..3068ba43396 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
@@ -325,8 +325,8 @@ __glusterd_probe_cbk (struct rpc_req *req, struct iovec *iov,
goto reply;
}
- /* Injecting LOCAL_ACC to send update */
- ret = glusterd_friend_sm_new_event (GD_FRIEND_EVENT_LOCAL_ACC,
+ /* Injecting EVENT_NEW_NAME to send update */
+ ret = glusterd_friend_sm_new_event (GD_FRIEND_EVENT_NEW_NAME,
&event);
if (!ret) {
event->peername = gf_strdup (peerinfo->hostname);