J-HowHuang commented on PR #16455:
URL: https://github.com/apache/pinot/pull/16455#issuecomment-3193127162

   @yashmayya Right now I'll have every controller run the check on each tenant 
rebalance job, but only one controller can get to retry that job if stuck. This 
is done by compare and swap using 
`ControllerZkHelixUtils::addControllerJobToZK`. 
   
   For example if two controllers both detect `jobID_123` is stuck and want to 
retry it, only the one who creates the job ZK metadata for `jobID_123_2`(the 
job ID with the new attempt ID) will actually retry the job.
   
https://github.com/apache/pinot/blob/d01cb710100b8601574bd92d73c1c16092ece01e/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/tenant/TenantRebalanceChecker.java#L191-L193


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