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

Defer allocating space until commit time #740

Open
rkuris opened this issue Oct 11, 2024 · 0 comments
Open

Defer allocating space until commit time #740

rkuris opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@rkuris
Copy link
Collaborator

rkuris commented Oct 11, 2024

This would make free space reuse a lot cleaner. The idea is:

  • Leave nodes in-memory, but make them shareable still by future proposals
  • Expire the oldest revision BEFORE allocating space for the committing revision, avoiding all freelist updates

This design change also sets us up for not persisting some of the revisions, similar to what geth does.

@rkuris rkuris self-assigned this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

1 participant