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

David Smiley commented on SOLR-9140:
------------------------------------

It'd be nice to get back to this sometime.  It's painful looking at retry/sleep 
loops like {{ZkController.waitForShardId.}}

> 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
>             Fix For: 6.2, 7.0
>
>         Attachments: SOLR-9140.patch, SOLR-9140.patch, 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
(v8.3.4#803005)

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

Reply via email to