[ 
https://issues.apache.org/jira/browse/SOLR-9181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312222#comment-15312222
 ] 

Alan Woodward commented on SOLR-9181:
-------------------------------------

This is a test bug, I think.  There's a race when a collection is migrated from 
state format 1 to state format 2, where the state reader may briefly see the 
collection removed from collectionstate.json before it sees the new 
collection/state.json znode.  The test fails to take that into account, and 
assumes that clusterState.getCollection() will always return a DocCollection 
object.  It can be fixed by using waitForState() instead of polling.  I'll put 
up a patch shortly.

> ZkStateReaderTest failure
> -------------------------
>
>                 Key: SOLR-9181
>                 URL: https://issues.apache.org/jira/browse/SOLR-9181
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>
> https://builds.apache.org/job/Lucene-Solr-Tests-6.x/243/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to