aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/graph_algo.rs
Commit message (Collapse)AuthorAgeFilesLines
* Correction of a few bugs in the tests, modification of ClusterLayout::checkMendes2022-09-221-23/+18
|
* New version of the algorithm that calculate the layout.Mendes2022-09-211-0/+440
It takes as paramters the replication factor and the zone redundancy, computes the largest partition size reachable with these constraints, and among the possible assignation with this partition size, it computes the one that moves the least number of partitions compared to the previous assignation. This computation uses graph algorithms defined in graph_algo.rs