[ 
http://issues.apache.org/jira/browse/LUCENE-690?page=comments#action_12443629 ] 
            
Grant Ingersoll commented on LUCENE-690:
----------------------------------------

Do you have a preference on aggressive cloning vs. synching?  cloning is easier 
to implement, but then the Field is no longer as lazy as it could be, on the 
other hand synching on the fieldsStream in LazyField and doc() could be pretty 
expensive, too, right?


> 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
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to