You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2015/12/10 01:00:14 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15049669#comment-15049669 ] 

Yonik Seeley edited comment on SOLR-8368 at 12/10/15 12:00 AM:
---------------------------------------------------------------

bq. Yes, they are loaded up before log replay before and after this change. I don't get the insinuation though.

I guess I was making assumptions about what goes wrong with leader election if tlogs aren't replayed first.  The issue description simply says "If we do it after like now, the correct leader may not be able to become leader."  I assumed that meant that we wouldn't be using the actual latest versions, but only versions of completed or replayed tlogs.  But looking at the code, it seems like the latest versions we have (replayed or not) will be used for the purposes of leader election.



was (Author: yseeley@gmail.com):
bq. Yes, they are loaded up before log replay before and after this change. I don't get the insinuation though.

I guess I was making assumptions about what goes wrong with leader election if tlogs aren't replayed first.  The issue description simply says "If we do it after like now, the correct leader may not be able to become leader.
"  I assumed that meant that we wouldn't be using the actual latest versions, but only versions of completed or replayed tlogs.  But looking at the code, it seems like the latest versions we have (replayed or not) will be used for the purposes of leader election.


> 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