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 #9451

Merged
merged 3 commits into from
Aug 1, 2022
Merged

Commits on Jul 28, 2022

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

    Al2Klimov committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    600fb0e 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 Jul 28, 2022
    Configuration menu
    Copy the full SHA
    c9d6eec View commit details
    Browse the repository at this point in the history