Add rebalance tool with --dry-run support
Pure plan_rebalance() computes diffs between current and desired placement. Execution copies blobs to new volumes, updates index, deletes from old. Skips keys where copy fails. Includes unit tests for planning logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ef6f025c3a
commit
2fad27efc6
3 changed files with 208 additions and 3 deletions
|
|
@ -4,6 +4,7 @@ pub mod error;
|
|||
pub mod hasher;
|
||||
pub mod health;
|
||||
pub mod server;
|
||||
pub mod rebalance;
|
||||
pub mod rebuild;
|
||||
pub mod volume;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue