<div dir="ltr">Hey guys,<div><br></div><div>Not sure if this is the most appropriate list - please let me know if this question is best asked elsewhere!</div><div><br></div><div>I&#39;m using Infinispan&#39;s Lucene Directory with a Cassandra CacheStore backing it, version 5.3.0.Final. Everything seems to be more-or-less working fine, except for some kind of apparent race condition on start-up.</div>
<div><br></div><div>At the first point where my code accesses the InfinispanDirectory, I get usually get a Cassandra TimedOutException from the Client.get() operation in the CacheLoader. I&#39;ve been googling around and all the suggestions on the web (relating to using Cassandra directly) don&#39;t seem particularly relevant, as the most common cause is reading too much data in single operations. This is merely a 32kb read.</div>
<div><br></div><div>I was wondering if the problem is that my code is supposed to somehow wait for the Cache instances to be &quot;ready&quot; before using them? Is there some kind of listener I&#39;m supposed to use to be notified of the Cache being ready for read operations?</div>
<div><br></div><div>Any suggestions greatly appreciated!</div><div><br></div><div><br></div><div>Thanks,</div><div>James.</div></div>