We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 992147c + 6c5f328 commit 15475f6Copy full SHA for 15475f6
contrib/mmts/multimaster.c
@@ -1896,7 +1896,8 @@ MtmCheckSlots()
1896
if (slot->in_use
1897
&& sscanf(slot->data.name.data, MULTIMASTER_SLOT_PATTERN, &nodeId) == 1
1898
&& BIT_CHECK(Mtm->disabledNodeMask, nodeId-1)
1899
- && slot->data.confirmed_flush + MtmMaxRecoveryLag < GetXLogInsertRecPtr())
+ && slot->data.confirmed_flush + MtmMaxRecoveryLag < GetXLogInsertRecPtr()
1900
+ && slot->data.confirmed_flush != 0)
1901
{
1902
elog(WARNING, "Drop slot for node %d which lag %lld is larger than threshold %d",
1903
nodeId,
0 commit comments