xiangfu0 commented on issue #11187:
URL: https://github.com/apache/pinot/issues/11187#issuecomment-1654709741

   > looks like the issue is here:
   > 
   > 
https://github.com/apache/pinot/blob/2904f1bce19f93b4e6f2f6492e741a5adc02dd82/pinot-query-planner/src/main/java/org/apache/pinot/query/routing/WorkerManager.java#L124-L132
   > 
   > ^ it shouldn't attach the server instance if list of segments are empty
   
   This issue is triggered when all the segments on that server become 
unavailable, then you still have the ServerInstance mapping, but no available 
segment, then leaf stage is not assigned still.
   
   IMO, there are two ways to fix: 1. assign a leaf stage with empty segment 
list; 2. don't schedule leaf, just let intermediate stage mailboxRecv return 
empty data block.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to