Re: Incorrect snapshots while promoting hot standby node when 2PC is used - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Incorrect snapshots while promoting hot standby node when 2PC is used
Date
Msg-id YVq7AILj2gmiK85d@paquier.xyz
Whole thread Raw
In response to Re: Incorrect snapshots while promoting hot standby node when 2PC is used  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Incorrect snapshots while promoting hot standby node when 2PC is used
List pgsql-hackers
On Fri, Oct 01, 2021 at 02:11:15PM +0900, Michael Paquier wrote:
> A couple of months later, I have looked back at this thread and this
> report.  I have rechecked all the standby handling and snapshot builds
> involving KnownAssignedXids and looked at all the phases that are
> getting called until we call ShutdownRecoveryTransactionEnvironment()
> to release these, and I don't think that there is a problem with the
> solution proposed here.  So I propose to move on and apply this
> patch.  Please let me know if there are any objections.

Okay, I have worked more on that today, did more tests and applied the
fix as of 8a42379.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: [Patch] ALTER SYSTEM READ ONLY
Next
From: Amit Kapila
Date:
Subject: Re: Remove an obsolete comment in snapbuild.c