On Wed, Sep 11, 2024 at 06:21:37PM +0900, Michael Paquier wrote:
>>   If gxact1's local xid is not frozen, the startup process will remove
>> the orphaned 2pc file. However, if the xid's corresponding clog file is
>> truncated by `vacuum`, the startup process will raise error 'could not
>> access status of transaction xxx', due to it could not found the
>> transaction's status file in dir `pg_xact`.
> 
> Hmm.  I've not seen that in the field.  Let me check that..

Ah, yes, that's clearly broken.  The origin of the problem was
effe7d9552dd, which was from me, so backpatched all the way down after
adding a comment explaining the reason why we'd better read the value
before the 2PC state lock is released.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to