Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 96600 invoked from network); 6 Oct 2008 21:20:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 21:20:08 -0000 Received: (qmail 64247 invoked by uid 500); 6 Oct 2008 21:20:04 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 64214 invoked by uid 500); 6 Oct 2008 21:20:03 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 64185 invoked by uid 99); 6 Oct 2008 21:20:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 14:20:03 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 21:19:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61094234C219 for ; Mon, 6 Oct 2008 14:19:44 -0700 (PDT) Message-ID: <990165438.1223327984396.JavaMail.jira@brutus> Date: Mon, 6 Oct 2008 14:19:44 -0700 (PDT) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1412) FileNotFoundException thrown by Directory.copy() In-Reply-To: <2097338209.1223326304367.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637236#action_12637236 ] Michael McCandless commented on LUCENE-1412: -------------------------------------------- Actually, Directory.copy is not designed to work correctly when the source directory is being modified. I'll update its javadocs to that effect. > FileNotFoundException thrown by Directory.copy() > ------------------------------------------------ > > Key: LUCENE-1412 > URL: https://issues.apache.org/jira/browse/LUCENE-1412 > Project: Lucene - Java > Issue Type: Bug > Components: Store > Affects Versions: 2.4 > Environment: Java 6. Directory.java and RAMDirectory.java are both at revision 700591. The thread that threw this runs concurrently with others searching and writing the same index. > Reporter: Anthony Urso > > java.io.FileNotFoundException: segments_bu > at org.apache.lucene.store.RAMDirectory.openInput(RAMDirectory.java:234) > at org.apache.lucene.store.Directory.copy(Directory.java:190) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org