-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit nbtree vacuum cycle id in nbtree xlog through FPIs
NBTree needs a vacuum cycle ID on pages of whom the split resulted in a new right page that is located before the original page, or who were split from such split pages in the current vacuum cycle. By WAL-logging the cycle_id and restoring it in recovery, we assure vacuum doesn't fail to clean up the earlier pages. During recovery, we extract the cycle ID from the original page if this page had an FPI, either directly (when the page was restored) or indirectly (from the record data). This fixes #9929
- Loading branch information
Showing
5 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
Submodule postgres-v17
updated
2 files
+18 −1 | src/backend/access/transam/xlogrecovery.c | |
+1 −0 | src/include/access/xlogrecovery.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"v17": [ | ||
"17.2", | ||
"ed38f0baf72ebb1d7a7ac080575aad5296e824d9" | ||
"471c449ab8f8ff5988b6bfb9eafa0a79772ad562" | ||
], | ||
"v16": [ | ||
"16.6", | ||
"6dfba662ba09fc730cdf30a68337f6a04285139d" | ||
"81428621f7c04aed03671cf80a928e0a36d92505" | ||
], | ||
"v15": [ | ||
"15.10", | ||
"28e95671d7fd97e9deed1cafdca5161f90360ded" | ||
"8736b10c1d93d11b9c0489872dd529c4c0f5338f" | ||
], | ||
"v14": [ | ||
"14.15", | ||
"d3a2380075daad0bd13a9094f57d20eea0601ecc" | ||
"13ff324150fceaac72920e01742addc053db9462" | ||
] | ||
} |