gianm commented on pull request #11025:
URL: https://github.com/apache/druid/pull/11025#issuecomment-812203994


   > In a Coordinator run, the RunRules happen before the UnloadUnusedSegments. 
Hence, we should be loading the new segments before dropping the existing 
segments.
   
   I'm not sure that it's guaranteed that this will happen. Some scenarios that 
come to mind:
   
   - It's possible the historical load queues are maxed out (they are at 
maxSegmentsInNodeLoadingQueue) and so the coordinator may not issue load 
commands for all of the new segments.
   - I think segment loading is asynchronous, so even if all load commands are 
issued, they might not have finished executing by the time UnloadUnusedSegments 
runs.


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

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