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 →
-
Integrate FullTransactionIds deeper into two-phase code
- 62a17a92833d 19 (unreleased) landed
Attachments
- v2-0001-Integrate-more-FullTransactionIds-into-2PC-code-17.txt (text/plain)
- v2-0001-Integrate-more-FullTransactionIds-into-2PC-master.patch (text/x-diff) patch v2-0001
- v2-0002-Fix-issues-with-2PC-file-handling-at-recovery-13.txt (text/plain)
- v2-0002-Fix-issues-with-2PC-file-handling-at-recovery-14.txt (text/plain)
- v2-0002-Fix-issues-with-2PC-file-handling-at-recovery-15.txt (text/plain)
- v2-0002-Fix-issues-with-2PC-file-handling-at-recovery-16.txt (text/plain)
- v2-0002-Fix-issues-with-2PC-file-handling-at-recovery-17.txt (text/plain)
- v2-0002-Fix-issues-with-2PC-file-handling-at-recov-master.patch (text/x-diff) patch v2-0002
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