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

feat(store): add ref counting and garbage collection to FlatFsStore #126

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

appcypher
Copy link
Owner

  • Add reference counting to track block usage in FlatFsStore
  • Implement garbage collection with recursive dependency cleanup
  • Store reference count as 8-byte header in block files
  • Add helper methods for reading/writing refcounts and block data
  • Add comprehensive tests for garbage collection scenarios
  • Update documentation with reference counting details

…tore

- Add reference counting to track block usage in FlatFsStore
- Implement garbage collection with recursive dependency cleanup
- Store reference count as 8-byte header in block files
- Add helper methods for reading/writing refcounts and block data
- Add comprehensive tests for garbage collection scenarios
- Update documentation with reference counting details
@appcypher appcypher merged commit e29b236 into main Feb 4, 2025
@appcypher appcypher deleted the appcypher/flatfsstore-gc branch February 4, 2025 23:16
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