lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-1822) SEVERE: Unable to move index file from: tempfile to: indexfile
Date Wed, 16 Mar 2011 17:03:30 GMT

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

Mark Miller resolved SOLR-1822.
-------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: Next)
                   4.0
                   3.1
         Assignee: Mark Miller

> SEVERE: Unable to move index file from: tempfile to: indexfile
> --------------------------------------------------------------
>
>                 Key: SOLR-1822
>                 URL: https://issues.apache.org/jira/browse/SOLR-1822
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 1.4
>         Environment: Linux, JDK6,SOLR 1.4
>            Reporter: wyhw whon
>            Assignee: Mark Miller
>            Priority: Critical
>             Fix For: 3.1, 4.0
>
>         Attachments: SnapPuller.patch
>
>
> SOLR index directory remvoed,but do not know what the reasons for this.
> I add some codes on SnapPuller.java 577 line can reslove this bug.
> line 576                           
> File indexFileInIndex = new File(indexDir, fname);
> +
> if (!indexDir.exists()) indexDir.mkdir();
> boolean success = indexFileInTmpDir.renameTo(indexFileInIndex);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message