aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_encode_test.go
AgeCommit message (Collapse)AuthorFilesLines
2024-11-18Introduce logic to resolve volume replica placement within EC rebalancing. ↵Lisandro Pin1-31/+0
(#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-09-14refactor(shell): `Decending` -> `Descending` (#3675)Ryan Russell1-1/+1
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-1/+1
2022-02-24simpler outputchrislu1-1/+2
2022-02-08test checking ec distributionchrislu1-0/+30