mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
fb939771f6906b76d007cabe185e975c1e4eec1e
Integration ruling F1(a): - Catalog.EnsureVolume (the attach check) gives a created volume its initial HEAD with the VOLUME entry: gen 1, epoch 0, no holder, remote_lsn 0, no chunks (all zero), by exclusive create. An existing HEAD is kept (a volume published before VOLUME entries), and a missing one is created on the next attach. - A fresh local volume (FreshFromHead) without a saved bitmap starts with an empty bitmap bound to HEAD instead of hash mode: it took no write before its first attach, so its image is HEAD's. Its first cut uploads only the chunks written. Hash mode stays for an existing volume whose bitmap is lost (F1(b)'s background reconciliation is separate work). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%