mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
b2862307ac91d952452eea254eddd5698db32931
Every cut now fills its ChunkCutStats: - barrier pause, sync and copy time; - candidate, uploaded, zeroed and unchanged chunks, and uploaded bytes; - upload time; CAS time and result (ok, precondition, unknown, resolved-by-reread; empty for a no-op cut); - total time. The layer keeps cumulative counters, exposed by Stats(): - cuts ok, no-op and failed; - refusals by reason (admission, fenced, detached); - CAS conflicts, and unknown CAS outcomes left unresolved by the HEAD re-read; - whether a proposal is pending, and the current dirty-chunk count (the C11 bitmap popcount, for the cut scheduler's threshold); - the last successful cut's stats, LSN and time. 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%