kfaraz commented on PR #16528: URL: https://github.com/apache/druid/pull/16528#issuecomment-2142685368
Thanks a lot, @razinbouzar ! You beat me to it. 🙂 I have been doing some investigation on this. Overall, your solution makes sense to me. But I am still going to try it out in my local setup that I have been using for testing. One important thing that I have noticed is that the `isLeader()` method may be called on the leader latch listener even after the latch has been closed. So we would need to make sure that if this method is called on a closed latch, we just ignore that event. I will share more details here in a bit. -- 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]
