lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1412) FileNotFoundException thrown by Directory.copy()
Date Mon, 06 Oct 2008 21:19:44 GMT

    [ 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


Mime
View raw message