[
https://issues.apache.org/jira/browse/SOLR-7336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392817#comment-14392817
]
Mark Miller commented on SOLR-7336:
-----------------------------------
Notes on states:
bq. ACTIVE
The replica is ready to receive updates and queries.
bq. DOWN
Some of these names came before things were fully fleshed out :) DOWN is
actually the first state before RECOVERING. I think tlog replay happens in
DOWN, though that is a bit of a bug IMO. We should probably have a new state
for it or something. A node in DOWN should be actively trying to move to
RECOVERYING.
bq. RECOVERING
The node is recovering from the leader. This might involve peersync or full
replication or finding out things are already in sync.
bq. RECOVERY_FAILED
RECOVERY attempts have not worked, something is not right.
NOTE: This state doesn't matter if the node is not part of /live_nodes in zk -
in that case the node is not part of the cluster and it's state should be
discarded.
> Add State enum to Replica
> -------------------------
>
> Key: SOLR-7336
> URL: https://issues.apache.org/jira/browse/SOLR-7336
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Reporter: Shai Erera
> Assignee: Shai Erera
> Attachments: SOLR-7336.patch
>
>
> Following SOLR-7325, this issue adds a State enum to Replica.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]