Files
seaweedfs/weed/storage/erasure_coding
Chris Lu e92c23e097 fix(ec): don't nil EC fds on close so reads can't race eviction
A reader resolves an EcVolume/shard under the lock then reads after it is
released, so an eviction that nils ecxFile/ecdFile would race that read
and panic. Close the fds without nilling the fields: the field is now
write-once (no data race) and a concurrent read hits a closed fd, getting
a clean error that the caller recovers from parity.
2026-06-08 16:55:42 -07:00
..
2019-05-15 01:02:00 -07:00
2019-05-15 01:02:00 -07:00