You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 fixesneondatabase/neon#9929
(Cherry-picked to v18 from v17 by Heikki. Not sure why this was
missing. Fixes test_nbtree_pagesplit_cycleid)
0 commit comments