Files
seaweedfs/weed/filer
MapleWhiteZZZandMapleWhiteZZZ 76cae100de filer: leave the manifests an update keeps unread when finding its garbage (#13224)
MinusChunks finds the chunks an update drops by resolving every manifest of
the old entry and of the new one. A manifest both entries list is the same
needle on both sides: all it holds is held by both, so none of it can be
dropped, yet it was read from a volume server twice on every update. A file
whose older chunks are folded into manifests paid that on each chmod, utimes,
setxattr and append.

Manifests listed on both sides are now taken out of both lists before the
others are resolved. They are read only when something else the old entry
holds might still be held through one of them, and then subtracted, so the
result is the one resolving everything gives. An attribute change or an
append that keeps the manifests reads none of them, and a kept manifest
that cannot be read no longer fails an update that drops nothing.

Co-authored-by: MapleWhiteZZZ <18653045+MapleWhiteZZZ@users.noreply.github.com>
2026-12-01 12:00:31 -08:00
..
2023-04-13 22:32:45 -07:00
2026-04-10 17:31:14 -07:00