summaryrefslogtreecommitdiffstats
path: root/api/src/gfapi.map
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2016-10-17 16:08:41 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-10-18 07:16:15 -0700
commitbac42476a14a16089e7185c7a250dfae43be6106 (patch)
treef41bfe38795f3c6b063acd170e263fed124cacfb /api/src/gfapi.map
parent975c5572a8300c81e127c27e677974f49e96bd5d (diff)
glusterd: set the brickinfo->port before spawning the bricks
As of now, when glusterd spawns a brick process, post spawning, the brickinfo's port is set. The side effect of this is it opens up an window where the pmap_signin event can be initiated by the brick to glusterd and glusterd fails to update signed_in flag since the brickinfo port is still 0 and the comparison of port and brickinfo->port fails. As a solution, set the brickinfo->port post pmap_registry_alloc and if the brick spawn fails reset it to 0. This logic applies for rdma port too. Change-Id: I00a13d4c6d6809ebd19a972aa13e71ee5eac7e35 BUG: 1385575 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/15655 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Samikshan Bairagya <samikshan@gmail.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'api/src/gfapi.map')
0 files changed, 0 insertions, 0 deletions