You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2016/04/06 20:34:25 UTC
[jira] [Commented] (SOLR-6465) CDCR: fall back to whole-index
replication when tlogs are insufficient
[ https://issues.apache.org/jira/browse/SOLR-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228847#comment-15228847 ]
Noble Paul commented on SOLR-6465:
----------------------------------
why the double lock
{code}
boolean locked = bootstrapLock.tryLock();
try {
if (!locked) {
throw new SolrException(SolrException.ErrorCode.INVALID_STATE, "A bootstrap action is already running");
}
bootstrapLock.lock();
{code}
isn't just one enough?
> CDCR: fall back to whole-index replication when tlogs are insufficient
> ----------------------------------------------------------------------
>
> Key: SOLR-6465
> URL: https://issues.apache.org/jira/browse/SOLR-6465
> Project: Solr
> Issue Type: Sub-task
> Reporter: Yonik Seeley
> Attachments: SOLR-6465.patch
>
>
> When the peer-shard doesn't have transaction logs to forward all the needed updates to bring a peer up to date, we need to fall back to normal replication.
--
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