[
https://issues.apache.org/jira/browse/SOLR-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294179#comment-15294179
]
Alan Woodward commented on SOLR-9140:
-------------------------------------
bq. Why doesn't publishAndWaitForDownStates use waitForState()
Using the custom watcher seemed simpler to me? No need to worry about
computing multiple timeouts or anything like that...
> Replace some state polling with CollectionStateWatchers
> -------------------------------------------------------
>
> Key: SOLR-9140
> URL: https://issues.apache.org/jira/browse/SOLR-9140
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-9140.patch
>
>
> There are a few places in ZkController and the collection processing code
> that directly query ZK for collection state, and then wait and poll for
> expected state changes. We can now replace these with
> CollectionStateWatchers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]