Content-Length: 257325 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f64864a00b90163ba1a83206a41f91485510e51f

B5 Restart replication in RECOVERED mode · postgrespro/postgres_cluster@f64864a · GitHub
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)








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/f64864a00b90163ba1a83206a41f91485510e51f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy