aboutsummaryrefslogtreecommitdiff
path: root/src/util/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* New version of the algorithm that calculate the layout.Mendes2022-09-211-1/+0
| | | | | | | | 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
* Change the way new layout assignations are computed.Alex Auvolat2022-05-011-0/+1
| | | | | | The function now computes an optimal assignation (with respect to partition size) that minimizes the distance to the former assignation, using flow algorithms. This commit was written by Mendes Oulamara <mendes.oulamara@pm.me>
* Add wrapper over sled tree to count items (used for big queues)Alex Auvolat2022-03-141-0/+1
|
* Refactor how durations are measuredAlex Auvolat2022-03-141-0/+1
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-1/+1
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-0/+1
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* Add tranquilizer mechanism to improve on token bucket mechanismtranquilityAlex Auvolat2021-11-041-0/+1
|
* Refactoring on repair commandscli-verify-integrityAlex Auvolat2021-10-271-0/+1
|
* rename types to CamelCaseTrinity Pointard2021-05-031-1/+0
|
* fix clippy warnings on util and rpcTrinity Pointard2021-05-031-0/+1
|
* make most requested changesTrinity Pointard2021-04-271-1/+0
|
* document util crateTrinity Pointard2021-04-271-0/+3
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-271-0/+1
|
* Time and metadata improvementsAlex Auvolat2021-03-151-0/+1
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+7