lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-7336) Add State enum to Replica
Date Thu, 02 Apr 2015 16:45:53 GMT


Mark Miller commented on SOLR-7336:

bq. But isn't a replica in DOWN, when the node it's on is also down? I know I saw that happening
after shutting down Solr on a node.

We try and publish DOWN on shutdown just because on startup we always want to see the progression
DOWN, RECOVERING and this makes it more pronounced and because we just want to make a best
effort to make the node not ACTIVE in clusterstate.json just because it does confuse users
that you *have* to consult zk live_nodes to know the actual state. It's not really required,
it came later, it's kind of a best effort thing. The key is, if a node is really shutdown,
it's zk live node is gone. A zk live node being gone means ignore the state. You need both
pieces of info - state is useless by itself.

See the Solr Cloud admin UI. It won't show a node that is shutdown as DOWN. It's zk live node
is gone, and so its marked as gray and gone.

DOWN is the wrong name, but that's what it is.

> Add State enum to Replica
> -------------------------
>                 Key: SOLR-7336
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: SOLR-7336.patch, SOLR-7336.patch
> Following SOLR-7325, this issue adds a State enum to Replica.

This message was sent by Atlassian JIRA

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

View raw message