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

David Smiley commented on SOLR-17453:
-------------------------------------

Sounds good Pierre; thanks for volunteering!

_FYI note the issue links to a dev list thread where there's more context and 
even a suggested replacement for one spot I noticed._

> Replace CloudUtil.waitForState and some TimeOut with 
> ZkStateReader.waitForState
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-17453
>                 URL: https://issues.apache.org/jira/browse/SOLR-17453
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Priority: Minor
>              Labels: newdev
>
> We should universally use ZkStateReader.waitForState when waiting for the 
> ClusterState to change based on a predicate.  SolrCloudTestCase.waitForState 
> is fine since it calls the former.  But CloudUtil.waitForState does not; it 
> should be replaced.  Additionally, TimeOut is used in some places wait 
> waitForState ought to be used, like CreateCollectionCmd.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to