You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/11/12 21:51:10 UTC
[jira] [Comment Edited] (SOLR-8075) Leader Initiated Recovery
should not stop a leader that participated in an election with all of it's
replicas from becoming a valid leader.
[ https://issues.apache.org/jira/browse/SOLR-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002901#comment-15002901 ]
Mark Miller edited comment on SOLR-8075 at 11/12/15 8:50 PM:
-------------------------------------------------------------
Also, the logic here is changed. We now do LIR prevention checks in checkLIR as well. I think it clearly has to come before we declare being the leader. Previously, it was not a checkLIR call - it was logic to just possibly turn LIR off for that replica.
was (Author: markrmiller@gmail.com):
Also, the logic here is changed. We know do LIR prevention checks in checkLIR as well. I think it clearly has to come before we declare being the leader. Previously, it was not a checkLIR call - it was logic to just possible turn LIR off for that replica.
> Leader Initiated Recovery should not stop a leader that participated in an election with all of it's replicas from becoming a valid leader.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-8075
> URL: https://issues.apache.org/jira/browse/SOLR-8075
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-8075.patch, SOLR-8075.patch, SOLR-8075.patch, SOLR-8075.patch, SOLR-8075.patch, SOLR-8075.patch, SOLR-8075.patch
>
>
> Currently, because of SOLR-8069, all the replicas in a shard can be put into LIR.
> If you restart such a shard, the valid leader will will win the election and sync with the shard and then be blocked from registering as ACTIVE because it is in LIR.
> I think that is a little wonky because I don't think it even tries another candidate because the leader that cannot publish ACTIVE does not have it's election canceled.
> While SOLR-8069 should prevent this situation, we should add logic to allow a leader that can sync with it's full shard to become leader and publish ACTIVE regardless of LIR.
--
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