lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3829) Lucene40 codec's DocValues DirectSource impls aren't thread-safe
Date Mon, 27 Feb 2012 19:28:46 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217428#comment-13217428
] 

Michael McCandless commented on LUCENE-3829:
--------------------------------------------

bq. maybe we need per-thread cloning like for stored fields?

Yeah I think we need something just like that... not sure where we should insert it into the
API though.

bq. At least all this is more funny than stupid FC insanity by reader wrapping... DOH!

:)
                
> Lucene40 codec's DocValues DirectSource impls aren't thread-safe
> ----------------------------------------------------------------
>
>                 Key: LUCENE-3829
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3829
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3829.patch
>
>
> Our DirectSource impls hold IndexInput(s) open against the dat/idx
> files, which we then seek + read when loading a specific document's
> value.  But this is in no way protected against multiple threads
> I think...?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message