mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
cdf18c1988e32da06184adcb0775a7ab4fb24c9c
Review: ManifestNs summed every manifest span of the attempt, so a HEAD re-read after a lost answer (inside HeadReadbackNs) was counted twice. It is now the manifest work measured across the commit check only. The write counts were whole successful ensures: a store wrapper now counts each acknowledged create of a root or segment, with its bytes, as it completes; an object already present sends and counts nothing, and a failed commit keeps what it sent. Tests: a lost-answer cut keeps the slow re-read out of ManifestNs (with the old sum it reads 60 ms in both); three-shard full and by-change commits match byte totals computed from the layout; a failed root send keeps the segment, and the retry sends only the root. 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%