mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 02:57:37 +01:00
eca3110e3b756a8b125ea6a3deb5250ac48b982c
- device mode reads the first block of every written file (FIEMAP via filefrag, 4 KiB blocks) through the user-space client and requires it to equal what was written: the block witnesses step 4 reads before hydration - step 1 passes only with 0 candidates in S0 and every chunk known-zero (kzStep1Pass; a partial certification or any scan refuses) - a file write fails on any writer error, also one with output, and on a read-back sha256 that differs (kzCheckWrite) - the target role reserves the handed-off data and ctrl ports before it picks its own (kzReserve) Table tests for all four in known_zero_checks_test.go (no build tags). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.2%