[
https://issues.apache.org/jira/browse/SOLR-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483664#comment-13483664
]
Mark Miller commented on SOLR-3939:
-----------------------------------
As far as I remember, if updates are coming in when you try and peer sync, we
fail it? Isn't that what capturing the starting versions is all about?
When a leader syncs with his replicas on leader election, we know docs are not
coming in, so we don't worry about that starting versions check - but if you
want to peer sync from the leader to a replica that is coming back up, if
updates are coming in, you are going to force a replication anyway. Since it's
already an uncommon case, it doesn't seem worth tackling. I mention buffering,
because it seemed you would have to to be able to peer sync when updates are
coming in (or block updates).
> An empty or just replicated index cannot become the leader of a shard after a
> leader goes down.
> -----------------------------------------------------------------------------------------------
>
> Key: SOLR-3939
> URL: https://issues.apache.org/jira/browse/SOLR-3939
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.0-BETA, 4.0
> Reporter: Joel Bernstein
> Assignee: Mark Miller
> Priority: Critical
> Labels: 4.0.1_Candidate
> Fix For: 4.1, 5.0
>
> Attachments: cloud2.log, cloud.log, SOLR-3939.patch, SOLR-3939.patch
>
>
> When a leader core is unloaded using the core admin api, the followers in the
> shard go into recovery but do not come out. Leader election doesn't take
> place and the shard goes down.
> This effects the ability to move a micro-shard from one Solr instance to
> another Solr instance.
> The problem does not occur 100% of the time but a large % of the time.
> To setup a test, startup Solr Cloud with a single shard. Add cores to that
> shard as replicas using core admin. Then unload the leader core using core
> admin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]