mlbiscoc opened a new pull request, #4429:
URL: https://github.com/apache/solr/pull/4429

   `testDistributedQueryDoesNotReadFromZk` is a flaky test on Crave and 
Jenkins. I am not able to reproduce this locally but the error is:
   ```
   2> 38735 INFO  
(TEST-DistributedQueryComponentOptimizationTest.testDistributedQueryDoesNotReadFromZk-seed#[2DA40BF573442949])
 [] o.a.s.SolrTestCaseJ4 ###Ending testDistributedQueryDoesNotReadFromZk
      >     org.apache.solr.client.solrj.RemoteSolrException: Error from server 
at 
http://127.0.0.1:46591/solr/optimize/select?q=*%3A*&collection=optimize%2CsecondColl&wt=javabin:
 org.apache.solr.common.SolrException: no active servers hosting shard: 
secondColl_shard1
   ```
   
   My suspicion is that there is a race condition making it flaky where the 
jetty node has not yet seen the updated state of the collection that it is 
ready but the client has because we were waiting on separate `zkStateReader` 
which is separate from the cached state from the actually jetty node and 
collection. So instead, we wait on that jetty nodes ready state using it's 
zkStateReader and not clients.


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