Re: An improvement of ProcessTwoPhaseBuffer logic

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Vitaly Davydov <v.davydov@postgrespro.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-30T07:05:24Z
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

  2. Merge copies of converting an XID to a FullTransactionId.

  3. Revert recent changes related to handling of 2PC files at recovery

  4. Fix failures with incorrect epoch handling for 2PC files at recovery

On Thu, Jan 30, 2025 at 08:57:23AM +0900, Michael Paquier wrote:
> So the situation is a bit of a mess in all the branches, a bit worse
> in 17~ due to the fact that epochs are poorly integrated, but I'm
> getting there with a set of patches mostly ready to be sent, and I
> think that this would be OK for a backpatch.  My plan is to start a
> new thread to deal with the matter, because that's a bit larger than
> the topic you have raised on this thread.  I'll add you and Noah in CC
> for awareness.

And done that here, with a closer lookup at everything I've bumped
into:
https://www.postgresql.org/message-id/Z5sd5O9JO7NYNK-C%40paquier.xyz
--
Michael