You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Scott Blum (JIRA)" <ji...@apache.org> on 2016/05/20 19:13:12 UTC

[jira] [Commented] (SOLR-9140) Replace some state polling with CollectionStateWatchers

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

Scott Blum commented on SOLR-9140:
----------------------------------

Why doesn't publishAndWaitForDownStates use waitForState() instead of a custom watcher and latch?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org