You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2018/04/13 03:24:00 UTC

[jira] [Resolved] (SOLR-12176) Improve FORCELEADER to handle the case when a replica win the election but does not present in clusterstate

     [ https://issues.apache.org/jira/browse/SOLR-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cao Manh Dat resolved SOLR-12176.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 7.4

> Improve FORCELEADER to handle the case when a replica win the election but does not present in clusterstate
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12176
>                 URL: https://issues.apache.org/jira/browse/SOLR-12176
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>            Assignee: Cao Manh Dat
>            Priority: Major
>             Fix For: 7.4
>
>         Attachments: SOLR-12176.patch
>
>
> There can be the case when a replica wins the election but it does not present in clusterstate. Maybe when the Overseer sent the UNLOAD request to the LEADER (in DeleteReplicaCmd), it met some exception (therefore the request never reach the LEADER), the Overseer it that case will forcefully remove the LEADER from clusterstate. 
> If a shard reaches that case, users will only see a leaderless shard and call FORCELEADER won't be able to solve their problem. Therefore FORCELEADER should be more robust, to handle such cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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