Hi, MultiXactIdCreateFromMembers() inserts the CREATE_ID record before it fills the SLRU pages. A checkpoint can take its redo pointer in between and flush the pages first. After a crash, recovery starts after passing the record and the multixact has no members. In a non-assert build the old row version becomes visible again next to the new one.
0001 sets DELAY_CHKPT_START around the two steps, like TruncateMultiXact(). 0002 is the repro. 0001 applies to 15 and up. 14 needs the old delayChkpt flag. The test needs 18 and up. Thanks, Shihao
v1-0002-Add-test-for-checkpoint-during-multixact-creation.patch
Description: Binary data
v1-0001-Delay-checkpoint-start-while-creating-a-multixact.patch
Description: Binary data
