aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-16 12:54:48 -0700
committerAdam Soltys <[email protected]>2026-10-16 12:54:48 -0700
commitc88f0d860c089e49cebabd53d652859d04143457 (patch)
treee02fff3d51f0c36680105e9ba8af359b5a846744 /compose.yml
parentb31437b5a77b371c7788993359553471692af4c6 (diff)
downloadcoinosv3-server-c88f0d860c089e49cebabd53d652859d04143457.tar.gz
coinosv3-server-c88f0d860c089e49cebabd53d652859d04143457.zip
names: refuse a corrupt state file; flush before replacing it
The loader treated any read or parse error as a fresh registrar and started with no names, then persisted that empty state over the real one. A crash can leave the state file truncated, because persist() renamed the new file into place without flushing it. Now a missing file is a fresh start, an unreadable one stops startup, and persist() fsyncs the file and its directory around the rename. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'compose.yml')
0 files changed, 0 insertions, 0 deletions