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

    ### Description
    
   `druid.server.http.unannouncePropagationDelay` makes a server sleep before 
Jetty stops, so that brokers stop routing
     queries to it first. Task runners pass runtime properties down to every 
peon, so if an operator sets this delay
     (for example `PT30S`) so that realtime tasks don't disappear while a query 
is being routed to them, **every** task
     inherits it. Batch, compaction, MSQ and other tasks that never serve 
queries then sleep for the full delay before
     exiting, which slows down task turnover and wastes task slots.
   
     This PR makes peons ignore the delay when the task they are running does 
not serve queries.
     
      #### Release note
     
     Peons running tasks that do not serve queries (for example batch, 
compaction and MSQ tasks) now ignore
     `druid.server.http.unannouncePropagationDelay` and shut down without 
waiting. Realtime streaming tasks still honor
     the delay.
   
   
   
   This PR has:
   
   - [x] been self-reviewed.
      - [x] using the [concurrency 
checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md)
 (Remove this item if the PR doesn't have any relation to concurrency.)
   - [x] added documentation for new or modified features or behaviors.
   - [x] a release note entry in the PR description.
   


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