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 a649b7d commit d5e6f2fCopy full SHA for d5e6f2f
contrib/mmts/multimaster.c
@@ -2035,7 +2035,7 @@ MtmCheckSlots()
2035
if (slot->in_use
2036
&& sscanf(slot->data.name.data, MULTIMASTER_SLOT_PATTERN, &nodeId) == 1
2037
&& BIT_CHECK(Mtm->disabledNodeMask, nodeId-1)
2038
- && slot->data.confirmed_flush + MtmMaxRecoveryLag * 1024 < GetXLogInsertRecPtr()
+ && slot->data.confirmed_flush + (long64) MtmMaxRecoveryLag * 1024 < GetXLogInsertRecPtr()
2039
&& slot->data.confirmed_flush != 0)
2040
{
2041
MTM_ELOG(WARNING, "Drop slot for node %d which lag %lld B is larger than threshold %d kB",
0 commit comments