Skip to content

add rebalance command to move local parts to other disks, #1470

Merged
Slach merged 4 commits into
masterfrom
feat_rebalance
Jul 16, 2026
Merged

add rebalance command to move local parts to other disks, #1470
Slach merged 4 commits into
masterfrom
feat_rebalance

Conversation

@Slach

@Slach Slach commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

fix #1024

@coveralls

coveralls commented Jul 16, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 29506523752

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage decreased (-0.004%) to 68.305%

Details

  • Coverage decreased (-0.004%) from the base build.
  • Patch coverage: 142 uncovered changes across 3 files (352 of 494 lines covered, 71.26%).
  • 24 coverage regressions across 5 files.

Uncovered Changes

File Changed Covered %
pkg/backup/rebalance.go 424 303 71.46%
pkg/server/server.go 62 44 70.97%
cmd/clickhouse-backup/main.go 7 4 57.14%
Total (4 files) 494 352 71.26%

Coverage Regressions

24 previously-covered lines in 5 files lost coverage.

File Lines Losing Coverage Coverage
pkg/storage/gcs.go 17 55.32%
pkg/clickhouse/clickhouse.go 2 79.04%
pkg/status/status.go 2 87.84%
pkg/storage/structs.go 2 84.0%
pkg/metadata/backup_metadata.go 1 75.0%

Coverage Stats

Coverage Status
Relevant Lines: 24439
Covered Lines: 16693
Line Coverage: 68.3%
Coverage Strength: 42688.95 hits per line

💛 - Coveralls

@Slach
Slach merged commit 34d0669 into master Jul 16, 2026
95 of 110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement rebalance command to allow move parts from shadow between disks

2 participants