Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CheckPointBuffers to PreCheckPointGuts to save FSM/VM pages on normal shutdown #613

Merged

Conversation

knizhnik
Copy link

@knizhnik knizhnik commented Apr 4, 2025

No description provided.

@knizhnik knizhnik force-pushed the move_checkpoint_buffers_to_precheckpointguts_v17 branch from 63dad34 to 66114c2 Compare April 5, 2025 06:43
github-merge-queue bot pushed a commit to neondatabase/neon that referenced this pull request Apr 7, 2025
## Problem

See https://neondb.slack.com/archives/C03QLRH7PPD/p1743746717119179

We wallow FSM/VM pages when they are written to disk to persist them in
PS.
But it is not happen during shutdown checkpoint, because writing to WAL
during checkpoint cause Postgres panic.

## Summary of changes

Move `CheckPointBuffers` call to `PreCheckPointGuts`

Postgres PRs:
neondatabase/postgres#615
neondatabase/postgres#614
neondatabase/postgres#613
neondatabase/postgres#612

---------

Co-authored-by: Konstantin Knizhnik <[email protected]>
@knizhnik knizhnik merged commit 66114c2 into REL_17_STABLE_neon Apr 7, 2025
1 check passed
@knizhnik knizhnik deleted the move_checkpoint_buffers_to_precheckpointguts_v17 branch April 7, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants