aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/erasure_coding/ec_decoder.go
AgeCommit message (Collapse)AuthorFilesLines
6 daysfix(ec.decode): purge EC shards when volume is empty (#7749)HEADorigin/masterorigin/HEADmasterChris Lu1-0/+22
* fix(ec.decode): purge EC shards when volume is empty When an EC volume has no live entries (all deleted), ec.decode should not generate an empty normal volume. Instead, treat decode as a no-op and allow shard purge to proceed cleanly.\n\nFixes: #7748 * chore: address PR review comments * test: cover live EC index + avoid magic string * chore: harden empty-EC handling - Make shard cleanup best-effort (collect errors)\n- Remove unreachable EOF handling in HasLiveNeedles\n- Add empty ecx test case\n- Share no-live-entries substring between server/client\n * perf: parallelize EC shard unmount/delete across locations * refactor: combine unmount+delete into single goroutine per location * refactor: use errors.Join for multi-error aggregation * refactor: use existing ErrorWaitGroup for parallel execution * fix: capture loop variables + clarify SuperBlockSize safety
2024-11-19adjust error messagechrislu1-1/+1
2024-03-09remove repetitive words (#5364)rustrover1-1/+1
2023-04-17collect ec shard from multiple locationschrislu1-4/+10
fix https://github.com/seaweedfs/seaweedfs/issues/4365
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-7/+7
2021-02-07fix typo offset.ToAcutalOffset to offset.ToActualOffsetbingoohuang1-1/+1
2020-11-27volume: add "-dir.idx" option for separate index storageChris Lu1-4/+4
fix https://github.com/chrislusf/seaweedfs/issues/1265
2020-08-18refactoringChris Lu1-1/+1
2020-08-18refactoring to typed SizeChris Lu1-2/+2
Go is amazing with refactoring!
2020-07-14go fmtChris Lu1-1/+1
2020-06-18erasure coding: fix cases where there are no .ecj filesChris Lu1-1/+5
2019-12-23shell: add ec.decode commandChris Lu1-0/+198