aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_test.go
AgeCommit message (Collapse)AuthorFilesLines
2024-12-12Delete legacy balancing code for `ec.encode`. (#6344)Lisandro Pin1-13/+0
2024-12-05Share common parameters for EC re-balancing functions under a single struct. ↵Lisandro Pin1-78/+83
(#6319) TODO cleanup for https://github.com/seaweedfs/seaweedfs/discussions/6179.
2024-12-04Account for replication placement settings when balancing EC shards across ↵Lisandro Pin1-5/+5
racks. (#6316)
2024-11-18Introduce logic to resolve volume replica placement within EC rebalancing. ↵Lisandro Pin1-1/+1
(#6254) * Rename `command_ec_encode_test.go` to `command_ec_common_test.go`. All tests defined in this file are now for `command_ec_common.go`. * Minor code cleanups. - Fix broken `ec.balance` test. - Rework integer ceiling division to not use floats, which can introduce precision errors. * Introduce logic to resolve volume replica placement within EC rebalancing. This will be used to make rebalancing logic topology-aware. * Give shell.EcNode.dc a dedicated DataCenterId type.
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-2/+2
2021-02-17go fmtChris Lu1-1/+1
2021-02-16fix testsChris Lu1-0/+1
2020-02-25fix testChris Lu1-1/+0
2020-02-25avoid reusing context objectChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/1182
2019-12-24ec encode distribute ec data and parity shards evenlyChris Lu1-0/+13
2019-06-10ec shard balancingChris Lu1-0/+127