[ 
https://issues.apache.org/jira/browse/SOLR-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Miller resolved SOLR-8077.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 5.4
                   Trunk

> 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
>             Fix For: Trunk, 5.4
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to