Chris Lu
7ed7578424
fix(ec.decode): purge EC shards when volume is empty ( #7749 )
...
* 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
2025-12-14 17:06:13 -08:00
..
2024-12-10 08:43:59 -08:00
2024-09-29 10:38:22 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-12-12 18:07:59 -08:00
2025-11-09 19:58:38 -08:00
2024-09-29 10:38:22 -07:00
2025-12-10 22:42:52 -08:00
2025-12-10 22:42:52 -08:00
2025-12-10 22:42:52 -08:00
2025-12-14 17:06:13 -08:00
2025-12-10 22:42:52 -08:00
2025-11-21 17:58:37 -08:00
2025-12-10 22:42:52 -08:00
2025-12-10 22:42:52 -08:00
2025-10-24 20:21:35 -07:00
2025-10-24 20:21:35 -07:00
2025-11-09 19:58:38 -08:00
2025-10-24 20:21:35 -07:00
2025-05-22 09:46:49 -07:00
2025-10-24 20:21:35 -07:00
2025-05-28 11:34:02 -07:00
2025-10-24 20:21:35 -07:00
2025-11-09 19:58:38 -08:00
2025-11-18 07:45:12 -08:00
2025-10-24 20:21:35 -07:00
2025-11-18 07:45:12 -08:00
2025-10-24 20:21:35 -07:00
2025-10-24 20:21:35 -07:00
2025-10-24 20:21:35 -07:00
2025-10-24 20:21:35 -07:00
2025-10-24 20:21:35 -07:00
2025-05-28 11:34:02 -07:00
2024-09-29 10:38:22 -07:00
2025-10-17 22:11:50 -07:00
2024-09-29 10:38:22 -07:00
2025-10-13 18:05:17 -07:00
2025-01-20 22:19:27 -08:00
2025-01-20 22:19:27 -08:00
2025-07-16 23:39:27 -07:00
2025-09-09 01:01:03 -07:00
2025-07-16 23:39:27 -07:00
2025-05-22 09:46:49 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-07-16 23:39:27 -07:00
2025-12-12 18:06:13 -08:00
2025-12-13 13:41:25 -08:00
2025-12-12 18:06:13 -08:00
2025-12-12 18:06:13 -08:00
2025-12-12 12:51:48 -08:00
2025-07-16 23:39:27 -07:00
2022-09-16 02:43:49 -07:00
2025-03-31 21:42:54 -07:00
2025-07-16 23:39:27 -07:00
2025-11-19 20:34:38 -08:00
2025-08-23 11:04:24 -07:00
2025-11-09 19:58:38 -08:00
2025-12-02 10:14:24 -08:00
2025-12-03 11:33:35 -08:00
2025-07-16 23:39:27 -07:00
2025-06-16 07:39:19 -07:00
2025-11-09 19:58:38 -08:00
2024-09-29 10:38:22 -07:00
2024-09-26 08:34:13 -07:00
2025-11-27 00:04:45 -08:00
2025-12-12 23:42:27 -08:00
2024-09-29 10:38:22 -07:00
2024-11-21 08:46:24 -08:00
2025-08-02 02:16:49 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2024-12-18 11:59:48 -08:00
2023-03-13 10:00:27 -07:00
2025-12-10 22:42:52 -08:00
2025-11-09 19:58:38 -08:00
2025-08-23 11:04:24 -07:00
2025-11-09 19:58:38 -08:00
2025-08-23 11:04:24 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2025-10-30 23:36:06 -07:00
2025-12-02 09:29:27 -08:00
2025-10-24 19:02:44 -07:00
2024-11-21 08:46:24 -08:00
2022-10-09 22:47:55 -07:00
2022-09-10 15:35:42 -07:00