fix: reuse validated latest state without rescanning version history

Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-10-25 13:02:23 +08:00
parent 1865985aa1
commit 03875d61e3
3 changed files with 14 additions and 31 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func TestMutationVersionHistoryRead(t *testing.T) {
}
meta[i], errs[i] = fileInfoFromRaw(raw[i], bucket, object, false, false)
}
return uniformLatestVersion(raw, meta, errs)
return uniformLatestVersion(meta, errs)
}
if !uniform() {
t.Fatal("healthy version history requires redundant full metadata decoding")