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/12/09 19:17:11 UTC

[jira] [Updated] (SOLR-8368) A SolrCore needs to replay it's tlog before the leader election process.

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

Mark Miller updated SOLR-8368:
------------------------------
    Attachment: SOLR-8368.patch

The patch (attached) should be pretty straightforward.

The only change beyond calling tlog replay before entering the election is that we have to remove an || isLeader check against it since it happens before we know if we will be the leader or not.

> A SolrCore needs to replay it's tlog before the leader election process.
> ------------------------------------------------------------------------
>
>                 Key: SOLR-8368
>                 URL: https://issues.apache.org/jira/browse/SOLR-8368
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>         Attachments: SOLR-8368.patch
>
>
> If we do it after like now, the correct leader may not be able to become leader.



--
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