forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7adc348
committed
Backpatch nbtree page deletion hardening.
Postgres 14 commit5b861ba taught nbtree VACUUM to tolerate buggyopclasses. VACUUM's inability to locate a to-be-deleted page's downlinkin the parent page was logged instead of throwing an error. VACUUMcould just press on with vacuuming the index, and vacuuming the table asa whole.There are now anecdotal reports of this error causing problems that weremuch more disruptive than the underlying index corruption ever could be.Anything that makes VACUUM unable to make forward progress against onetable/index ultimately risks making the system enter xidStopLimit mode.There is no good reason to take any chances here, so backpatch thehardening commit.Author: Peter Geoghegan <pg@bowt.ie>Discussion:https://postgr.es/m/CAH2-Wzm9HR6Pow=t-iQa57zT8qmX6_M4h14F-pTtb=xFDW5FBA@mail.gmail.comBackpatch: 10-13 (all supported versions that lacked the hardening)1 parent844ac09 commit7adc348
1 file changed
+19
-2
lines changedLines changed: 19 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1198 | 1198 |
| |
1199 | 1199 |
| |
1200 | 1200 |
| |
1201 |
| - | |
1202 |
| - | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1203 | 1220 |
| |
1204 | 1221 |
| |
1205 | 1222 |
| |
|
0 commit comments
Comments
(0)