Yukang-Lian opened a new pull request, #65637:
URL: https://github.com/apache/doris/pull/65637

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   The `test_be_compaction_tasks` regression case could trigger cumulative 
compaction before the backend received the latest visible version of a newly 
created partition. The case created five rowsets, exactly matching the default 
cumulative compaction threshold. When the asynchronous visible-version update 
had not reached the backend, compaction returned `E-2000: _input_rowsets is 
empty`.
   
   The generic compaction helper ignored E-2000 and returned without a tracker 
record, so the case later failed while looking for a FINISHED record for its 
tablet.
   
   This change creates additional input rowsets, targets the actual backend 
hosting the tablet, retries only E-2000 while requesting tablet reports, and 
waits for the target MANUAL cumulative tracker record to reach FINISHED or 
FAILED. Other trigger errors still fail immediately.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
           - `test_be_compaction_tasks` passed 5 consecutive runs.
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
   - Behavior changed:
       - [x] No.
       - [ ] Yes.
   - Does this need documentation?
       - [x] 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