mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
bd8afb0aea156f5cbaa50730962a7df11634360e
V1-SPEC r2.45. (1) The provider takes an exclusive, non-blocking lock on /run/sw-block/locks/<volume id>.lock before the volume's store opens and releases it after the store closes (HostVolumeLock, set by blockvolume). A missing directory refuses the provider with the cure; the tmpfiles.d entry ships in deploy/systemd and both units may write it under ProtectSystem=strict. --volume-lock-dir-test-only (hidden, refused under systemd, warned at start) is for plain subprocess tests and harnesses. (2) An existing root whose HEAD names this holder attaches only if its local durable LSN reaches HEAD's remote_lsn; otherwise the existing stale-root refusal, no retry (78 superseded), with the cure. (3) docs/releases/one-process-per-volume.md: the lifecycle do-not list. No HEAD change, no format bump, no new persisted file, no new exit reason. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%