mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 02:57:37 +01:00
boundedManifest (the attach-fetch HEAD read the cut's settlement uses) counted no root or segment read: each successful fetch is now counted as it completes, so a later failed fetch keeps the earlier ones. Controls: a real GetHead under WithAttachFetch counts 1 root and 3 segments on three shards, and 1 and 1 when shard 1's fetch fails. The lost-answer test asserts the disjointness that always holds (ManifestNs + HeadReadbackNs <= TotalNs; the old sum exceeds it by the re-read's 100 ms) and that the read counts include the re-read's, instead of a timing bound on the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>