kfaraz commented on code in PR #18031:
URL: https://github.com/apache/druid/pull/18031#discussion_r2105686031
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskQueue.java:
##########
@@ -958,6 +963,7 @@ public Map<String, Long> getWaitingTaskCount()
.collect(Collectors.toSet());
return activeTasks.values().stream()
Review Comment:
I think this is fine since it is used only for reporting metrics, which are
meant to be a snapshot anyway.
As long as this code doesn't throw an exception and reports a consistent
value, we should be good.
--
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]