Lisandro Pin
848d1f7c34
Improve safety for weed shell's ec.encode. ( #6773 )
...
Improve safety for weed shells `ec.encode`.
The current process for `ec.encode` is:
1. EC shards for a volume are generated and added to a single server
2. The original volume is deleted
3. EC shards get re-balanced across the entire topology
It is then possible to lose data between #2 and #3 , if the underlying volume storage/server/rack/DC
happens to fail, for whatever reason. As a fix, this MR reworks `ec.encode` so:
* Newly created EC shards are spread across all locations for the source volume.
* Source volumes are deleted only after EC shards are converted and balanced.
2025-05-09 09:01:32 -07:00
..
2024-12-10 08:43:59 -08: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
2024-09-29 10:38:22 -07:00
2024-12-18 13:26:26 -08:00
2025-02-28 11:42:19 -08:00
2025-05-09 09:01:32 -07:00
2024-12-10 13:30:13 -08:00
2025-05-09 09:01:32 -07:00
2024-12-10 13:30:13 -08:00
2024-12-12 07:42:03 -08:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2025-03-31 21:42:54 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 21:53:07 -07:00
2024-09-29 10:38:22 -07:00
2025-02-23 06:36:47 -08: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
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
2024-12-19 19:25:06 -08: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-11-04 12:08:25 -08:00
2025-01-20 22:19:27 -08:00
2025-01-20 22:19:27 -08: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
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
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2024-09-29 10:38:22 -07:00
2022-09-16 02:43:49 -07:00
2025-03-31 21:42:54 -07:00
2025-03-31 21:42:54 -07:00
2025-03-31 21:42:54 -07:00
2024-12-13 01:10:00 -08:00
2025-01-12 23:30:18 -08:00
2023-10-09 09:57:26 -07:00
2024-12-19 19:25:06 -08:00
2024-11-19 06:33:18 -08:00
2024-09-29 10:38:22 -07:00
2024-11-19 06:33:18 -08:00
2024-09-29 10:38:22 -07:00
2024-09-26 08:34:13 -07:00
2025-01-08 09:57:18 -08:00
2024-11-19 06:33:18 -08:00
2024-09-29 10:38:22 -07:00
2024-11-21 08:46:24 -08:00
2025-04-27 08:52: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
2024-12-19 19:25:06 -08:00
2024-09-29 10:38:22 -07:00
2024-11-19 06:33:18 -08:00
2024-11-19 06:33:18 -08: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
2024-09-29 10:38:22 -07:00
2024-11-20 08:35:24 -08:00
2025-03-13 09:11:16 -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