aboutsummaryrefslogtreecommitdiff
path: root/src/util/lib.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-01 09:54:19 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-01 09:54:19 +0200
commitc1d1646c4d62300ec48503aa65623ee7e3df8685 (patch)
treec766c48972e660af6f5f952d4c12c5f7b7c217b7 /src/util/lib.rs
parentc9ef3e461b54f36b7fb60e03959416339cd61a9f (diff)
downloadgarage-c1d1646c4d62300ec48503aa65623ee7e3df8685.tar.gz
garage-c1d1646c4d62300ec48503aa65623ee7e3df8685.zip
Change the way new layout assignations are computed.
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>
Diffstat (limited to 'src/util/lib.rs')
-rw-r--r--src/util/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/lib.rs b/src/util/lib.rs
index e83fc2e6..891549c3 100644
--- a/src/util/lib.rs
+++ b/src/util/lib.rs
@@ -4,6 +4,7 @@
extern crate tracing;
pub mod background;
+pub mod bipartite;
pub mod config;
pub mod crdt;
pub mod data;