[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to