[improvement](tablet clone) tablet balance ignore deleted partitions (#25499)

This commit is contained in:
yujun
2023-10-20 19:40:44 +08:00
committed by GitHub
parent f1b81fafd4
commit fe52988ef8
6 changed files with 51 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class DiskRebalanceTest {
@Before
public void setUp() throws Exception {
FeConstants.runningUnitTest = true;
Config.used_capacity_percent_max_diff = 1.0;
Config.balance_slot_num_per_path = 1;
db = new Database(1, "test db");

View File

@ -90,6 +90,7 @@ public class RebalanceTest {
@Before
public void setUp() throws Exception {
FeConstants.runningUnitTest = true;
db = new Database(1, "test db");
db.setClusterName(SystemInfoService.DEFAULT_CLUSTER);
new Expectations() {