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

Panic isn't a clean shutdown #885

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Panic isn't a clean shutdown #885

merged 1 commit into from
Nov 1, 2024

Conversation

mconst
Copy link
Contributor

@mconst mconst commented Nov 1, 2024

When shutting down due to a panic, don't mark the database as clean; just treat it like a crash and let the recovery code run next time. This avoids page leaks and possibly other database corruption, depending on where the panic happens.

When shutting down due to a panic, don't mark the database as clean;
just treat it like a crash and let the recovery code run next time.
This avoids page leaks and possibly other database corruption, depending
on where the panic happens.
@cberner cberner merged commit 07ebf79 into cberner:master Nov 1, 2024
3 checks passed
@mconst mconst deleted the panic_fix branch November 1, 2024 06:04
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