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

Commited3caee

Browse files
committed
do not drop fresh slot
1 parentfc42dcb commited3caee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎multimaster.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,8 @@ MtmCheckSlots()
18951895
if (slot->in_use
18961896
&&sscanf(slot->data.name.data,MULTIMASTER_SLOT_PATTERN,&nodeId)==1
18971897
&&BIT_CHECK(Mtm->disabledNodeMask,nodeId-1)
1898-
&&slot->data.confirmed_flush+MtmMaxRecoveryLag<GetXLogInsertRecPtr())
1898+
&&slot->data.confirmed_flush+MtmMaxRecoveryLag<GetXLogInsertRecPtr()
1899+
&&slot->data.confirmed_flush!=0)
18991900
{
19001901
elog(WARNING,"Drop slot for node %d which lag %lld is larger than threshold %d",
19011902
nodeId,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp