pingqiuandClaude Opus 5.5 fb939771f6 storage, chunkstore: a fresh volume starts with an initial HEAD and an empty bitmap
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>
2026-11-15 07:44:09 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%