mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
abc57ceb6178adbc77def6778dfd7bd6ca0f6cb8
codex01 review of #416 e56f1de1 (INV-AUTH-HOLDER-IDENTITY-001, INV-WS-RENEW-NONBLOCKING-001): - P1-1: the holder host check reads NodeInventoryStore.GetNodeSnapshot (published after each committed write), never the store mutex RegisterNode holds across file I/O. Held-registration-write control in core/lifecycle. - P1-2: a primary slot with no frontend lists nothing; status frontends carry their replica (FrontendTarget.replica_id = 8); CSI publishes a target only when the primary has a usable frontend, another replica's frontend joining only as an extra path to the same target. Real CSI lookup negatives (no primary frontend; rejected loopback primary). - P2: a deletion-reserved workspace volume keeps the assignment stream host check. 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%