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

   Previously, "emitTaskCompletionLogsAndMetrics" would emit the metrics 
task/run/time, task/success/count, and task/failed/count only for tasks that 
complete due to an attached runner callback (from attachCallbacks). This patch 
causes metrics to be emitted whenever notifyStatus successfully marks a task as 
completed.
   
   The prior behavior missed scenarios where the shutdown API is used on a task 
that the runner is aware of but has not yet been added to the queue. It could 
happen during Overlord startup, while the queue is initializing.


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