Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1bf86a

Browse files
committed
Revert recent changes related to handling of 2PC files at recovery
This commit reverts8f67f99 (down to v13) andc3de0f9 (down tov17), as these are proving to not be completely correct regarding twoaspects:- In v17 and newer branches,c3de0f9's check for epoch handling isincorrect, and does not correctly handle frozen epochs. A logic closerto widen_snapshot_xid() should be used. The 2PC code should try tointegrate deeper with FullTransactionIds,5a1dfde being not enough.- In v13 and newer branches,8f67f99 is a workaround for the realissue, which is that we should not attempt CLOG lookups without reachingconsistency. This exists since728bd99, and this is reachable withProcessTwoPhaseBuffer() called by restoreTwoPhaseData() at the beginningof recovery.Per discussion with Noah Misch.Discussion:https://postgr.es/m/20250116010051.f3.nmisch@google.comBackpatch-through: 13
1 parent0671a71 commitd1bf86a

File tree

2 files changed

+55
-154
lines changed

2 files changed

+55
-154
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp