gianm commented on PR #13273:
URL: https://github.com/apache/druid/pull/13273#issuecomment-1294717103

   > So I guess there would be duplicates if say a task moves from "PENDING" to 
"RUNNING" and the running set is updated but the the pending set is still not 
updated?
   
   The sets can be updated while `getKnownTasks` is running, so it's possible 
for the same task to be in both `pendingTasks` and `runningTasks`, if it moves 
in the time between reading those two sets.


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