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

Dump state file atomically not to corrupt it #9467

Merged
merged 3 commits into from
Aug 2, 2022

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    cc1e9c0 View commit details
    Browse the repository at this point in the history
  2. Introduce AtomicFile

    Al2Klimov committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    53af4f2 View commit details
    Browse the repository at this point in the history
  3. Dump state file atomically not to corrupt it

    by using fsync(2) before close(2) and rename(2).
    Al2Klimov committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    92a01a7 View commit details
    Browse the repository at this point in the history