Files
seaweedFS/weed
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
..
2025-05-05 11:43:49 -07:00
2022-12-11 21:05:58 -08:00
2025-03-31 21:25:51 -07:00
2022-09-14 23:06:44 -07:00
2025-03-25 16:01:52 -07:00
2024-06-28 14:54:39 -07:00
2024-06-25 09:18:11 -07:00
2025-05-05 11:43:49 -07:00
2024-02-14 08:26:38 -08:00
2025-05-04 21:10:01 -07:00
2025-03-17 23:13:27 -07:00