jasonk000 opened a new pull request, #14642:
URL: https://github.com/apache/druid/pull/14642

   Related to #14131, #14634, and #14639.
   
   ### Description
   
   Split the SegmentNukeAction into smaller batches. The segment nuke runs 
inside a critical section inside the `TaskLockbox`. This blocks up most 
activity in the overlord, including allocation of new segments, while the nuke 
is running. If the nuke runs for a long time, it can cause issues with cluster 
stability.
   
   This change relieves pressure on the `TaskLockbox` by splitting the nuke 
work into smaller chunks, which will allow other tasks to interleave with the 
lockbox.
   
   ##### Key changed/added classes in this PR
   
   - `SegmentNukeAction`: partition the segments into batches of size 1000 for 
nuke.
   
   <hr>
   
   This PR has:
   
   - [x] been self-reviewed.
   - [ ] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [ ] been tested in a test Druid cluster.
   


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