mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
5bf6e17ab1470c2adfe941de4976eff9bde0f913
A peer counts toward write ACKs only while its barrier store equals the store the master recorded for it from a primary's attestation, carried in the replica descriptor; empty never matches, and the peer's own word never changes it. A record change re-sends the assignment at the same generation and the primary updates expected stores in place. A volume's first bind records its initial replicas: until each has an attested store the fact carries the awaited count, the primary serves no frontend I/O and reports "creating: waiting for replica attestations (n of N)"; the primary learns new peers' stores with a barrier at LSN 0. Replica rows show store_attested/store_id. 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%