mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
591a5a3b1c19d3686db611ccf4596d6fe0efbf31
Add Catalog.Verify and 'sw-block ops chunk verify': a read-only check of a volume's remote image at three depths (meta, bindings, data). GC's mark does not look up the bindings of the keys it roots and never reads chunk data, so a missing binding or a damaged needle was found only by a guest read. A miss is reported only if its root still names the chunk: verify re-reads HEAD (superseded during verify) or the snapshot attempt (root deleted during verify) before reporting, since a pass can outlive GC's grace. A needle is NEEDLE_MISSING only when the store answers not found; any other read failure is retried and then reported as READ_ERROR (not verified). Exit code 3 means the pass completed with findings. The single-filer start check now also runs in the shared dial path of the 'ops chunk' commands and in gc. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%