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

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

     [ https://issues.apache.org/jira/browse/SOLR-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward updated SOLR-9140:
--------------------------------
    Attachment: SOLR-9140.patch

Patch.  As well as reducing line-count, this has the nice side-effect of cutting a couple of seconds off node start-up.  TestCollectionStateWatchers goes from taking ~35 seconds on my laptop to ~20 seconds.

> 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