[ 
https://issues.apache.org/jira/browse/SOLR-7336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392910#comment-14392910
 ] 

Mark Miller commented on SOLR-7336:
-----------------------------------

{quote}
+    /**
+     * A replica can be in that state in two cases:
+     * <ul>
+     * <li>It is truly down, i.e. hosted on a node that is no longer live.</li>
+     * <li>It failed to acknowledge an update request from the leader and is
+     * catching up with the leader's transaction log.</li>
+     * </ul>
{quote}

Neither of those statements are really currently correct though. It's as I say 
above:

"DOWN is the first state before RECOVERING. A node in DOWN should be actively 
trying to move to RECOVERING."

The main reason for DOWN is so that leaders can see a replicas state change to 
RECOVERING.

It doesn't mean it's truly down or hosted on a node that is no longer live, nor 
does it necessarily imply an update failed from the leader.

> 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, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to