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

Fix leak of pages in restore_savepoint() #841

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Fix leak of pages in restore_savepoint() #841

merged 1 commit into from
Aug 12, 2024

Conversation

cberner
Copy link
Owner

@cberner cberner commented Aug 11, 2024

Pages allocated in the system tree or freed tree when the savepoint was captured are currently leaked, because they are in a pending free state, and so do not appear in the diff of the allocator state, but they are also curretly being dropped from the freed tree.

This fixes the leak, but make restore_savepoint() slower

Pages allocated in the system tree or freed tree when the savepoint was
captured are currently leaked, because they are in a pending free state,
and so do not appear in the diff of the allocator state, but they are
also curretly being dropped from the freed tree.

This fixes the leak, but make restore_savepoint() slower
@cberner cberner merged commit baa86e7 into master Aug 12, 2024
3 checks passed
@cberner cberner deleted the restore_leak branch August 12, 2024 00:11
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.

1 participant