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

Commit addf523

Browse files
committed
Allow promotion from IN_MINORITY to ONLINE
1 parent c9717e6 commit addf523

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arbiter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ static void MtmCheckResponse(MtmArbiterMessage* resp)
316316
} else {
317317
BIT_CLEAR(Mtm->currentLockNodeMask, resp->node-1);
318318
}
319-
if (BIT_CHECK(resp->disabledNodeMask, MtmNodeId-1)
319+
if (
320+
( BIT_CHECK(resp->disabledNodeMask, MtmNodeId-1) || Mtm->status == MTM_IN_MINORITY )
320321
&& !BIT_CHECK(Mtm->disabledNodeMask, resp->node-1)
321322
&& Mtm->status != MTM_RECOVERY
322323
&& Mtm->status != MTM_RECOVERED

0 commit comments

Comments
 (0)