lucene-dev mailing list archives

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

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


Mime
View raw message