Re: The same 2PC data maybe recovered twice
suyu.cmj <mengjuan.cmj@alibaba-inc.com>
From: "suyu.cmj" <mengjuan.cmj@alibaba-inc.com>
To: "Michael Paquier" <michael@paquier.xyz>
Cc: "zhihui.fan1213" <zhihui.fan1213@gmail.com>,
"pgsql-bugs" <pgsql-bugs@lists.postgresql.org>
Date: 2023-07-17T06:26:56Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- v2-0001-Fix-a-2PC-transaction-maybe-recovered-twice_master.patch (application/octet-stream) patch v2-0001
Yes, the method you proposed is simpler and more efficient. Following your idea, I have modified the corresponding patch, hope you can review it when you have time. Best Regards suyu.cmj
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix recovery of 2PC transaction during crash recovery
- bc0581f8fb8b 11.21 landed
- d2ee542a2bbe 12.16 landed
- db59108a2b67 13.12 landed
- 442749100d34 14.9 landed
- a878eff6b4b9 15.4 landed
- f88bc9f38839 16.0 landed
- cb0cca188072 17.0 landed