shuke987 opened a new pull request, #65202:
URL: https://github.com/apache/doris/pull/65202

   ### What problem does this PR solve?
   
   On branch-4.1, `DecommissionTest.testDecommissionBackend` creates 
`test.tbl1` with `buckets 64`, but still verifies balance with `totalReplicaNum 
= 1 * 2400`.
   
   That makes the initial round-robin tablet distribution `[16, 16, 16, 16]` 
look unbalanced because `checkBalance()` computes the expected average from 
2400 replicas.
   
   This PR aligns the branch-4.1 test with the master-side handling:
   
   - disable `Config.max_bucket_num_per_partition` for this UT
   - restore the DDL to `buckets 2400`
   - keep `totalReplicaNum = 1 * 2400` unchanged
   
   ### Check List
   
   - [x] `git diff --check HEAD~1..HEAD`
   - [ ] `./run-fe-ut.sh --run 
org.apache.doris.clone.DecommissionTest#testDecommissionBackend` (blocked 
locally before Java UT: 
`/Users/keshu/dudu/doris/thirdparty/installed/bin/protoc` is missing)
   - [ ] `mvn test -Dcheckstyle.skip=true -DfailIfNoTests=false 
-Dtest=org.apache.doris.clone.DecommissionTest#testDecommissionBackend` 
(blocked locally before `fe-core`: generated `org.apache.doris.thrift` classes 
are missing because generated sources cannot be produced without `protoc`)
   
   ### Release note
   
   None
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to