You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2006/10/19 22:19:36 UTC

[jira] Updated: (LUCENE-690) LazyField use of IndexInput not thread safe

     [ http://issues.apache.org/jira/browse/LUCENE-690?page=all ]

Yonik Seeley updated LUCENE-690:
--------------------------------

    Attachment: FieldsReader.patch

Here's one possible patch... not sure if it's the best approach or not.

> LazyField use of IndexInput not thread safe
> -------------------------------------------
>
>                 Key: LUCENE-690
>                 URL: http://issues.apache.org/jira/browse/LUCENE-690
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.0.1
>            Reporter: Yonik Seeley
>         Attachments: FieldsReader.patch
>
>
> Hypothetical problem: IndexInput.clone() of an active IndexInput could result in a corrupt copy.
> LazyField clones the FieldsReader.fieldsStream, which could be in use via IndexReader.document()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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