diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2018-01-22 09:49:34 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-02-09 13:42:35 +0000 |
commit | 3a66533c94f5b6dd78be90dee5f9fa8abceb54c9 (patch) | |
tree | a2308bf8d274f2c3748c5214f9d292676c8892a5 /xlators/mgmt/glusterd/src/glusterd-locks.h | |
parent | 4400ea86c685054657823e679c7ee001591c503a (diff) |
glusterd: process pmap sign in only when port is marked as free
Because of some crazy race in volume start code path because of friend
handshaking with volumes with quorum enabled we might end up into a situation
where glusterd would start a brick and get a disconnect and then immediately try
to start the same brick instance based on another friend update request. And
then if for the very first brick even if the process doesn't come up at the end
sign in event gets sent and we end up having two duplicate portmap entries for
the same brick. Since in brick start we mark the previous port as free, its
better to consider a sign in request as no op if the corresponding port type is
marked as free.
>mainline patch : https://review.gluster.org/#/c/19263/
Change-Id: I995c348c7b6988956d24b06bf3f09ab64280fc32
BUG: 1543711
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
(cherry picked from commit 9d708a3739c8201d23f996c413d6b08f8b13dd90)
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-locks.h')
0 files changed, 0 insertions, 0 deletions