[
https://issues.apache.org/jira/browse/SOLR-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904469#comment-14904469
]
ASF subversion and git services commented on SOLR-8077:
-------------------------------------------------------
Commit 1704841 from [[email protected]] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1704841 ]
SOLR-8077: Replication can still cause index corruption.
> 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: [email protected]
For additional commands, e-mail: [email protected]