[ https://issues.apache.org/jira/browse/SOLR-17453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896178#comment-17896178 ]
ASF subversion and git services commented on SOLR-17453: -------------------------------------------------------- Commit b657ec0c2176ef58c224147b71a91fa5a8267e51 in solr's branch refs/heads/main from Pierre Salagnac [ https://gitbox.apache.org/repos/asf?p=solr.git;h=b657ec0c217 ] SOLR-17453: Leverage waitForState() instead of busy waiting (#2737) Leverage waitForState() instead of busy waiting in CREATE, MIGRATE, REINDEXCOLLECTION, MOVEREPLICA commands, and in some tests. > 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 > Reporter: David Smiley > Priority: Minor > Labels: newdev, pull-request-available > Time Spent: 2.5h > Remaining Estimate: 0h > > 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