Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 76016 invoked from network); 16 Mar 2011 17:03:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 17:03:54 -0000 Received: (qmail 84986 invoked by uid 500); 16 Mar 2011 17:03:52 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 84865 invoked by uid 500); 16 Mar 2011 17:03:52 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 84436 invoked by uid 99); 16 Mar 2011 17:03:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 17:03:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 17:03:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1C2EC3ACA8F for ; Wed, 16 Mar 2011 17:03:30 +0000 (UTC) Date: Wed, 16 Mar 2011 17:03:30 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <725113177.6897.1300295010112.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (SOLR-1822) SEVERE: Unable to move index file from: tempfile to: indexfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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