Content-Length: 260351 | pFad | http://github.com/postgrespro/postgres_cluster/commit/524e41d983680f503b828dd8f425b5d33b2608bc

F4 Allow promotion from IN_MINORITY to ONLINE · postgrespro/postgres_cluster@524e41d · GitHub
Skip to content

Commit 524e41d

Browse files
committed
Allow promotion from IN_MINORITY to ONLINE
1 parent 7d24637 commit 524e41d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/mmts/arbiter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ static void MtmCheckResponse(MtmArbiterMessage* resp)
314314
} else {
315315
BIT_CLEAR(Mtm->currentLockNodeMask, resp->node-1);
316316
}
317-
if (BIT_CHECK(resp->disabledNodeMask, MtmNodeId-1)
317+
if (
318+
( BIT_CHECK(resp->disabledNodeMask, MtmNodeId-1) || Mtm->status == MTM_IN_MINORITY )
318319
&& !BIT_CHECK(Mtm->disabledNodeMask, resp->node-1)
319320
&& Mtm->status != MTM_RECOVERY
320321
&& Mtm->status != MTM_RECOVERED

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/524e41d983680f503b828dd8f425b5d33b2608bc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy