flosse / flosse/rust-json-file-store

Force flush changes to filesystem

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
66
Forks
9
PR merge metrics
No merged PRs in 30d

Description

👋 Thank you for writing JFS!
I am using it as an alternative store for a side project.
While running my tests, I noticed that my `delete` case would sporadically fail.
It does a bunch of inserts, then a bunch of deletes and then reads to see if they still there.

I _think_ adding a `f.sync_all()?` at the end of `save_object_to_file` should at least alleviate the case.

I can open a PR if you want.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.