Re: TimeOut vs ZkStateReader.waitForState

2024-06-20 Thread Chris Hostetter
: involves a sleep period. We use it in many places. IMO it's a sad : choice to use when it's possible to alternatively wait on a condition : that will wake up the thread. Those who have touched SolrCloud should : be aware of ZkStateReader.waitForState, a specific alternative I have : in mind.

TimeOut vs ZkStateReader.waitForState

2024-06-03 Thread David Smiley
We've got this utility TimeOut that assists waiting for a condition to hold in a limited period of time. As a generic utility, of course it involves a sleep period. We use it in many places. IMO it's a sad choice to use when it's possible to alternatively wait on a condition that will wake up the