8000 Deleted node log · Issue #832 · ava-labs/firewood · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Deleted node log #832

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

Open
rkuris opened this issue Apr 8, 2025 · 1 comment
Open

Deleted node log #832

rkuris opened this issue Apr 8, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@rkuris
Copy link
Collaborator
rkuris commented Apr 8, 2025

The spec suggested a deleted node log, but we currently don't do this. This means space is lost on restarts, and might also make having an active display of firewood from an outside process difficult.

@rkuris
Copy link
Collaborator Author
rkuris commented Apr 8, 2025

Note that the deleted node log also maps hash->root so we'd need at least parts of this for an archival storage.

Seems like having a few modes for this makes the most sense:

  • Do what we do now, which gives you best performance and loses some space on restarts
  • Write only the hash->root mappings which could be read on startup for archival data stores
  • Write that plus the "deleted" node list so that space can be fully recovered on restarts

@rkuris rkuris added the enhancement New feature or request label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant
0