lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-690) LazyField use of IndexInput not thread safe
Date Fri, 20 Oct 2006 03:08:36 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-690?page=all ]

Yonik Seeley resolved LUCENE-690.
---------------------------------

    Fix Version/s: 2.1
    Lucene Fields: [Patch Available]  (was: [New, Patch Available])
       Resolution: Fixed

OK, I committed this fix for now.
For BufferedIndexInput, the buffer is allocated lazily, so the extra clone doesn't use much
space.

> 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
>             Fix For: 2.1
>
>         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


Mime
View raw message