lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Blum (JIRA)" <>
Subject [jira] [Commented] (SOLR-6629) Watch /collections zk node on all nodes
Date Mon, 10 Aug 2015 21:13:46 GMT


Scott Blum commented on SOLR-6629:

Note: LegacyClusterStateWatcher.refreshAndWatch() is what currently triggers refreshLazyFormat2Collections().
 In other words, refreshes on the lazy collection set are tied to changes in shared clusterstate.json.
 A better solution would be to do a child watch on /collections instead and completely decouple
the lazy collection set from changes to clusterstate.json.  This might also involve tracking
down any overseer code that forces a now-unnecessary clusterstate.json mutation purely as
a signal.

> Watch /collections zk node on all nodes
> ---------------------------------------
>                 Key: SOLR-6629
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>             Fix For: Trunk
> The main clusterstate.json is refreshed/used as a poor substitute for informing all nodes
about new or deleted collections even when the collection being created or deleted has state
format > 1. When we move away from state format 1 then we should do away with this workaround
and start watching the /collections zk node on all nodes.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message