Skip to content

Commit f64864a

Browse files
knizhnikkelvich
authored andcommitted
Restart replication in RECOVERED mode
1 parent 1ad4f8f commit f64864a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

multimaster.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3448,6 +3448,9 @@ MtmReplicationMode MtmGetReplicationMode(int nodeId, sig_atomic_t volatile* shut
34483448
MtmSleep(STATUS_POLL_DELAY);
34493449
MtmLock(LW_EXCLUSIVE);
34503450
}
3451+
if (Mtm->status == MTM_RECOVERED) {
3452+
mode = REPLMODE_RECOVERED;
3453+
}
34513454
if (mode == REPLMODE_RECOVERED) {
34523455
MTM_LOG1("%d: Restart replication from node %d after end of recovery", MyProcPid, nodeId);
34533456
} else if (mode == REPLMODE_CREATE_NEW) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy