You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/12/31 13:31:14 UTC

[jira] [Commented] (SOLR-6538) Add an event API to register for cluster state updates and leader updates

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

ASF GitHub Bot commented on SOLR-6538:
--------------------------------------

Github user andyetitmoves closed the pull request at:

    https://github.com/apache/lucene-solr/pull/82


> Add an event API to register for cluster state updates and leader updates
> -------------------------------------------------------------------------
>
>                 Key: SOLR-6538
>                 URL: https://issues.apache.org/jira/browse/SOLR-6538
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 5.0
>
>
> There is no way for plugins to listen for cluster state updates or leader changes short of adding their own watches on ZK nodes directly.
> Let's add an event listener API to listen for such events.
> A simple use-case is a long running request handler (such as DIH) which:
> # pulls data from other sources
> # runs only on leaders (or really just one node per collection or shard)
> # should fail-over automatically to other nodes



--
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