We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03737b4 commit a422a23Copy full SHA for a422a23
multimaster.c
@@ -2036,7 +2036,7 @@ MtmCheckSlots()
2036
if (slot->in_use
2037
&& sscanf(slot->data.name.data, MULTIMASTER_SLOT_PATTERN, &nodeId) == 1
2038
&& BIT_CHECK(Mtm->disabledNodeMask, nodeId-1)
2039
- && slot->data.confirmed_flush + MtmMaxRecoveryLag * 1024 < GetXLogInsertRecPtr()
+ && slot->data.confirmed_flush + (long64) MtmMaxRecoveryLag * 1024 < GetXLogInsertRecPtr()
2040
&& slot->data.confirmed_flush != 0)
2041
{
2042
MTM_ELOG(WARNING, "Drop slot for node %d which lag %lld B is larger than threshold %d kB",
0 commit comments