You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/09/21 06:51:04 UTC
[jira] [Commented] (SOLR-8077) Replication can still cause index
corruption.
[ https://issues.apache.org/jira/browse/SOLR-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900196#comment-14900196 ]
Varun Thacker commented on SOLR-8077:
-------------------------------------
+1
> Replication can still cause index corruption.
> ---------------------------------------------
>
> Key: SOLR-8077
> URL: https://issues.apache.org/jira/browse/SOLR-8077
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Critical
>
> Bah. Somehow a critical part of SOLR-7134 did not get in with the commit.
> {code}
> if (slowFileExists(indexDir, fname)) {
> - LOG.info("Skipping move file - it already exists:" + fname);
> - return true;
> + LOG.warn("Cannot complete replication attempt because file already exists:" + fname);
> +
> + // we fail - we downloaded the files we need, if we can't move one in, we can't
> + // count on the correct index
> + return false;
> }
> {code}
--
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