- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit20e5ef3
In XLogFileInit(), fix *use_existent postcondition to suit callers.
Infrequently, the mismatch caused log_checkpoints messages andTRACE_POSTGRESQL_CHECKPOINT_DONE() to witness an "added" count too highby one. Since that consequence is so minor, no back-patch.This commit has been applied as of85656bc 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, Noah Misch is theauthor. Tests have been conducted by the both of us.Reported-by: Arun ThirupathiAuthor: Noah Misch <noah@leadboat.com>Discussion:https://postgr.es/m/20210202151416.GB3304930@rfd.leadboat.comDiscussion:https://postgr.es/m/20250306193013.36.nmisch@google.comBackpatch-through: 131 parentdf8ec96 commit20e5ef3
1 file changed
+6
-7
lines changedLines changed: 6 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3259 | 3259 |
| |
3260 | 3260 |
| |
3261 | 3261 |
| |
3262 |
| - | |
3263 |
| - | |
| 3262 | + | |
| 3263 | + | |
3264 | 3264 |
| |
3265 | 3265 |
| |
3266 | 3266 |
| |
| |||
3414 | 3414 |
| |
3415 | 3415 |
| |
3416 | 3416 |
| |
3417 |
| - | |
3418 |
| - | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
3419 | 3421 |
| |
3420 | 3422 |
| |
3421 | 3423 |
| |
| |||
3425 | 3427 |
| |
3426 | 3428 |
| |
3427 | 3429 |
| |
3428 |
| - | |
3429 |
| - | |
3430 |
| - | |
3431 | 3430 |
| |
3432 | 3431 |
| |
3433 | 3432 |
| |
|
0 commit comments
Comments
(0)