xiangfu0 opened a new pull request, #14991:
URL: https://github.com/apache/pinot/pull/14991

   Set CONSUMING state priority for helix state model:
   Here we make ONLINE state to be the higher priority than CONSUMING.
   
   Why:
   Usually in the normal operations this won't make any difference.
   In large table restart scenario (e.g. the server restart or pre-process 
taking long time, say 1 hour), if the consuming segment is up early then the 
pinot server spent more cpu cycles on the consuming segments. 
   In fact, we should let the bootstrap server/restart server to focus on the 
pre-process for those ONLINE segments transitions, and at the last to bring 
back the CONSUMING state.
   Another thing worth to mention is that, during the bootstrap, the running 
replica could consume data and commit multiple segments already, to allow the 
bootstrap replica to bypass CONSUMING and directly download the segments from 
deep store.
   


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