aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/store_ec_delete.go
AgeCommit message (Collapse)AuthorFilesLines
2025-12-02fix: skip cookie validation for EC volume deletion when SkipCookieCheck is ↵Chris Lu1-11/+6
set (#7608) fix: EC volume deletion issues Fixes #7489 1. Skip cookie check for EC volume deletion when SkipCookieCheck is set When batch deleting files from EC volumes with SkipCookieCheck=true (e.g., orphan file cleanup), the cookie is not available. The deletion was failing with 'unexpected cookie 0' because DeleteEcShardNeedle always validated the cookie. 2. Optimize doDeleteNeedleFromAtLeastOneRemoteEcShards to return early Return immediately when a deletion succeeds, instead of continuing to try all parity shards unnecessarily. 3. Remove useless log message that always logged nil error The log at V(1) was logging err after checking it was nil. Regression introduced in commit 7bdae5172 (Jan 3, 2023) when EC batch delete support was added.
2023-09-18Revert "Revert "Merge branch 'master' into sub""chrislu1-1/+3
This reverts commit 0bb97709d41b1be4c74f01dcc65aac6d5f88bd16.
2023-09-18Revert "Merge branch 'master' into sub"chrislu1-3/+1
This reverts commit 4d414f54a224142f3f4d934f4af3b5dceb6fec6b, reversing changes made to 482742514656e9b5a652acf7406740fbc55db13d.
2023-09-18fix: weed/storage: dropped errorLars Lehtonen1-1/+3
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-8/+8
2021-12-26use streaming mode for long poll grpc callschrislu1-1/+1
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-09-12change server address from string to a typeChris Lu1-1/+2
2021-08-08volume: support concurrent download data size limitChris Lu1-1/+1
2020-02-25remove ctx if possibleChris Lu1-1/+1
2020-02-25avoid reusing context objectChris Lu1-10/+10
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-01-26use the same context object in order to retryChris Lu1-1/+1
2019-06-20ec deletion code complete, not tested yetChris Lu1-0/+105