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 fsstore compaction #77

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Fix fsstore compaction #77

merged 2 commits into from
Feb 21, 2025

Conversation

alexjg
Copy link
Collaborator

@alexjg alexjg commented Feb 21, 2025

No description provided.

Problem: the `FsStore::compact` logic failed to load the data the caller
passed to it when compacting. This meant that if the compacted document
contained data which was not on disk then that data was lost.

Solution: load the document and merge it with existing on disk state
@alexjg alexjg merged commit b3df2f4 into main Feb 21, 2025
8 checks passed
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