aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/compute-levels.cc
diff options
context:
space:
mode:
authorsqualus <squalus@squalus.net>2022-09-19 11:15:31 -0700
committersqualus <squalus@squalus.net>2022-09-19 20:13:30 -0700
commit1b595026e18afb050de3f62ded8f7180bc8b2b0e (patch)
tree6a6c3834483a46ce194cd37bafb0a8168742148c /src/libutil/compute-levels.cc
parent9d860f34673fbf07a2cf07ff854ae6683dae2fb8 (diff)
Improve durability of schema version file writes
- call close explicitly in writeFile to prevent the close exception from being ignored - fsync after writing schema file to flush data to disk - fsync schema file parent to flush metadata to disk https://github.com/NixOS/nix/issues/7064
Diffstat (limited to 'src/libutil/compute-levels.cc')
0 files changed, 0 insertions, 0 deletions