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

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   `CompactionMixin::calc_input_rowsets_row_num()` calculated input rowset disk 
size instead of row count. As a result, cumulative compaction task 
classification compared bytes with 
`large_cumu_compaction_task_row_num_threshold`, which could incorrectly treat 
compactions with small row count but disk size over the threshold value as 
large tasks.
   
   This PR fixes the calculation to sum `rowset->num_rows()` and adds a BE unit 
test to verify row-count calculation is independent from total-size calculation.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
     - [ ] Regression test
     - [✅] Unit Test
     - [ ] Manual test
     - [ ] No need to test or manual test.
   
   
   - Behavior changed:
     - [✅] No.
     - [ ] Yes.
   
   - Does this need documentation?
     - [✅] No.
     - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label


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