Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf64864a

Browse files
knizhnikkelvich
authored andcommitted
Restart replication in RECOVERED mode
1 parent1ad4f8f commitf64864a

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
}elseif (mode==REPLMODE_CREATE_NEW) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp