mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
455984013429f99d8b5b9107e036df2485cfe86b
A volume's directory is <name>-<first 8 hex of its volume id>, created exclusively and never reused; the reader reads a foreign chunk from the directory its reference's owner name and id give, after checking that directory's VOLUME id. For a restore target never created, the operator's remove-dependent writes a deleted HEAD exclusively in the target's directory (a tombstone, which needs no holder) and only then releases the dependent, so the restore can never create the target afterwards; if the target's HEAD appears first, the release is refused. Only that command creates a tombstone (source guard). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%