Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2cb0f75

Browse files
committed
anyway need to disable on disconnect
1 parent 61a5266 commit 2cb0f75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

state.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ void MtmOnNodeDisconnect(int nodeId)
404404

405405
MtmLock(LW_EXCLUSIVE);
406406
BIT_SET(SELF_CONNECTIVITY_MASK, nodeId-1);
407+
MtmDisableNode(nodeId);
408+
Mtm->nConfigChanges += 1;
409+
BIT_SET(Mtm->reconnectMask, nodeId-1);
407410
MtmCheckState();
408411
MtmUnlock();
409412
}

0 commit comments

Comments
 (0)