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

Ensure local disk directory store does atomic put #14

Merged
merged 1 commit into from
Apr 12, 2024

Commits on Apr 12, 2024

  1. Ensure local disk directory store does atomic put

    Prior to this commit, the directory storage provider did a write
    straight to final storage, which would result in a partial file if
    interrupted. Now we write to a tmpfile and do an atomic rename to the
    final location.
    
    On initialization of a directory store, the root directory is walked and
    any orphaned tmpfiles are deleted.
    wkalt committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    117ee7d View commit details
    Browse the repository at this point in the history