Skip to content

Force flush changes to filesystem#5

Description

@felipesere

馃憢 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions