Jackie-Jiang opened a new pull request #8367:
URL: https://github.com/apache/pinot/pull/8367


   Fix #8324 
   
   The flakiness is caused by the following race condition:
   - The broker is removed from the IdealState
   - The broker is dropped from the cluster
   - The state transition message is created which recreates the ZK nodes for 
the dropped broker
   - The broker shows up again when querying the instances from the cluster
   
   The fix is to wait until ExternalView to converge before dropping the broker.
   The race condition itself is hard to fix as it is caused by Helix behavior. 
This PR enhances the drop instance rest API to still try to remove all instance 
ZK nodes even if instance config is already deleted so that there is a way to 
recover when the race condition happens.


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