You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/09/21 01:13:04 UTC
[jira] [Created] (SOLR-8077) Replication can still cause index
corruption.
Mark Miller created SOLR-8077:
---------------------------------
Summary: 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