[
https://issues.apache.org/jira/browse/SOLR-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132138#comment-18132138
]
Nick Shanin commented on SOLR-5962:
-----------------------------------
>From code reading against apache/main b73f03976fa, the public Replica.State
>enum has ACTIVE, DOWN, RECOVERING and RECOVERY_FAILED and no replay state
>(solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java:42-75). The
>open choice is whether a replica should publish a new REPLAYING state during
>transaction log replay. Option one adds REPLAYING, so the node no longer shows
>as DOWN, at the cost of changing the public enum and what is written to
>state.json. Option two keeps DOWN during replay and leaves the enum unchanged.
>Which of these two options do you prefer?
🤖 AI-generated 🤖
> We currently wait in a DOWN state while recovery from transaction logs, which
> is confusing.
> -------------------------------------------------------------------------------------------
>
> Key: SOLR-5962
> URL: https://issues.apache.org/jira/browse/SOLR-5962
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
>
> It should ideally be in state RECOVERYING - though it would be great to know
> more about what stage of recovery a node is in, DOWN is not the right state
> even without that.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]