- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit43e409c
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 parentb70db6c commit43e409c
1 file changed
+17
-1
lines changedLines changed: 17 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2388 | 2388 |
| |
2389 | 2389 |
| |
2390 | 2390 |
| |
2391 |
| - | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
2392 | 2405 |
| |
2393 | 2406 |
| |
2394 | 2407 |
| |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
2395 | 2411 |
| |
2396 | 2412 |
| |
2397 | 2413 |
| |
|
0 commit comments
Comments
(0)