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.
1 parent 6ca55e7 commit 6c5f328Copy full SHA for 6c5f328
contrib/mmts/multimaster.c
@@ -1895,7 +1895,8 @@ MtmCheckSlots()
1895
if (slot->in_use
1896
&& sscanf(slot->data.name.data, MULTIMASTER_SLOT_PATTERN, &nodeId) == 1
1897
&& BIT_CHECK(Mtm->disabledNodeMask, nodeId-1)
1898
- && slot->data.confirmed_flush + MtmMaxRecoveryLag < GetXLogInsertRecPtr())
+ && slot->data.confirmed_flush + MtmMaxRecoveryLag < GetXLogInsertRecPtr()
1899
+ && slot->data.confirmed_flush != 0)
1900
{
1901
elog(WARNING, "Drop slot for node %d which lag %lld is larger than threshold %d",
1902
nodeId,
0 commit comments