Re: Issues with 2PC at recovery: CLOG lookups and GlobalTransactionData

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Noah Misch <noah@leadboat.com>, Vitaly Davydov <v.davydov@postgrespro.ru>
Date: 2025-01-31T00:21:53Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Integrate FullTransactionIds deeper into two-phase code

Attachments

On Thu, Jan 30, 2025 at 03:36:20PM +0900, Michael Paquier wrote:
> This needs more eyes, so I'll go add an entry in the CF.  Patches for
> stable branches are labelled with .txt, to avoid any interference with
> the CF bot.
> 
> Thoughts and comments are welcome.

After sleeping over it, I've been able to come up with a split of the
patches for v17 and HEAD: a first one to refactor the 2PC code to
integrate more FullTransactionIds (down to 17) and a second one to
implement a fix.  That should make reviews easier.  The second patch
for 17 and HEAD matches with the fixes for v13~v16, all are labelled
with a 0002.
--
Michael