lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-6538) Add an event API to register for cluster state updates and leader updates
Date Thu, 18 Sep 2014 16:14:34 GMT
Shalin Shekhar Mangar created SOLR-6538:
-------------------------------------------

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


Mime
View raw message