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 cbf17be commit 80d1765Copy full SHA for 80d1765
src/backend/access/transam/multixact.c
@@ -1714,6 +1714,20 @@ BootStrapMultiXact(void)
1714
}
1715
1716
LWLockRelease(MultiXactMemberControlLock);
1717
+
1718
+ /*
1719
+ * If we're starting not from zero offset, initilize dummy multixact to
1720
+ * evade too long loop in PerformMembersTruncation().
1721
+ */
1722
+ if (MultiXactState->nextOffset > 0 && MultiXactState->nextMXact > 0)
1723
+ {
1724
+ RecordNewMultiXact(FirstMultiXactId,
1725
+ MultiXactState->nextOffset,
1726
+ 0, NULL);
1727
+ RecordNewMultiXact(MultiXactState->nextMXact - 1,
1728
1729
1730
+ }
1731
1732
1733
/*
0 commit comments