lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11427) DELETEREPLICA with onlyIfDown specified should succeed if the host node is not present in the live_nodes Znode
Date Tue, 03 Oct 2017 00:06:00 GMT

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

Varun Thacker commented on SOLR-11427:
--------------------------------------

In my head scripts would only delete replicas which are active ( to move replicas around )
..

Only maintenance scripts or cleanup scripts could benefit for this protection . But given
someone would run this script manually to cleanup old cruft the chances of the user knowing
about this flag and a bug in a cleanup script didn't feel right. 

But that's just me . Maybe it's more useful than I think

> DELETEREPLICA with onlyIfDown specified should succeed if the host node is not present
in the live_nodes Znode
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11427
>                 URL: https://issues.apache.org/jira/browse/SOLR-11427
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>
> The title says it pretty much, so opening up for discussion:
> Here's the problem. Let's say a node is killed via {{kill -9}}. The state.json file still
says it's "active", but the node is gone from live_nodes. If the node in question never comes
back, the replica's state doesn't necessarily get switched to "down", so specifying onlyIfDown
fails with "node is active" message. This is all documented more thoroughly in SOLR-9361.
> The question is whether it's sufficient and/or safe to succeed in deleting the replica
from state.json if the state is "active" _and_ the node is NOT present in live_nodes.
> I'm assigning to myself, but others should feel free to take it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message