[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to