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

   Problem Summary: Cloud tablet route rebuilding repeatedly boxes primitive 
backend, table, partition, index, and tablet IDs while inserting the same 
logical IDs into current and future global, table, and partition indexes. Hoist 
boxing to the traversal and incremental update callers and pass the same 
immutable Long references through a boxed helper overload. Preserve the public 
primitive method descriptor and the existing putIfAbsent container 
implementation so this change applies directly to master without depending on 
lazy container creation. A single-threaded JDK 17 allocation model that keeps 
eager container candidates in both variants estimates that 4 million tablets 
across 4 clusters reduce cumulative allocation from 25.47 GiB to 19.76 GiB 
(22.42%) and approximate post-full-GC retained heap from 6.80 GiB to 4.94 GiB 
(27.37%); these are path-level model estimates, not production RSS measurements.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test and Manual test
   
       - ./run-fe-ut.sh --run 
org.apache.doris.cloud.catalog.CloudTabletRebalancerTest (10 tests passed)
   
       - ./run-fe-ut.sh --run 
org.apache.doris.cloud.catalog.CloudTabletRebalancerTest#testFillBeToTabletsReusesBoxedIdsAcrossIndexes
 (RED before fix, passed after fix)
   
       - mvn checkstyle:check -pl fe-core (0 violations)
   
       - Multi-scale JDK 17 eager-container allocation model at 0.2M, 0.4M, 
0.8M, and 3.2M tablet-cluster pairs, three runs per scale
   
   - Behavior changed: No
   
   - Does this need documentation: No
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
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