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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: N/A
   
   Problem Summary:
   A failed tablet recycle causes SyncExecutor to cancel pending tasks and skip 
metadata cleanup for successfully recycled tablets.
   
   Use a dedicated SimpleThreadPool in recycle_tablets, following 
recycle_rowsets. 
   
   Each task recycles one tablet and atomically removes its metadata only after 
data recycling succeeds. 
   
   Track failures without cancelling other tasks, and wait for all tasks before 
cleaning up index- or partition-level metadata.
   
   ### Release note
   
   Allow other tablets to be recycled when an individual tablet fails, while 
retaining failed tablet metadata for retry.
   
   ### Check List (For Author)
   
   - Test: Not run, as requested
   - Behavior changed: Yes. Individual tablet failures no longer cancel pending 
tablet tasks; the overall operation still reports failure.
   - Does this need documentation: No


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