Files
seaweedfs/weed
Chris Lu 3b07ea7145 erasure_coding: keep a source replica whose needle record differs from the EC volume's
A replica that was writable again after the encode can rewrite a needle
under a key the .ecx already lists. Checking only the key let cleanup
delete that newer copy.

Account for a live replica needle only when the .ecx holds it at the same
size, or holds it deleted at the same offset, which is the encoded record
deleted on the EC volume since. A needle resized, or deleted in the .ecx
while the replica holds another record of it, keeps the replica.
2026-12-06 00:46:12 -08:00
..
2026-04-23 10:05:51 -07:00