- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit69a498e
Reset InstallXLogFileSegmentActive after walreceiver self-initiated exit.
After commitcc2c7d6 added this flag,failure to reset it caused assertion failures. In non-assert builds, itmade the system fail to achieve the objectives listed in that commit;chiefly, we might emit a spurious log message. Back-patch to v15, wherethat commit first appeared.Bharath Rupireddy and Kyotaro Horiguchi. Reviewed by Dilip Kumar,Nathan Bossart and Michael Paquier. Reported by Dilip Kumar.This commit has been applied as ofb4f584f in v15 and newerversions. This is required on stable branches of v13 and v14 to fix aregression reported by Noah Misch, introduced by1f95181, causingspurious failures in archive recovery (neither streaming nor archiverecovery) with concurrent restartpoints. The backpatched versions ofthe patches have been aligned on these branches by me. Tests have beenconducted by the both of us.Discussion:https://postgr.es/m/CAFiTN-sE3ry=ycMPVtC+Djw4Fd7gbUGVv_qqw6qfzp=JLvqT3g@mail.gmail.comDiscussion:https://postgr.es/m/20250306193013.36.nmisch@google.comBackpatch-through: 131 parenta5b0c06 commit69a498e
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12573 | 12573 |
| |
12574 | 12574 |
| |
12575 | 12575 |
| |
12576 |
| - | |
12577 |
| - | |
| 12576 | + | |
12578 | 12577 |
| |
12579 | 12578 |
| |
12580 | 12579 |
| |
|
0 commit comments
Comments
(0)