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: [email protected]
For additional commands, e-mail: [email protected]