lucene-dev mailing list archives

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


Michael McCandless updated LUCENE-3829:

    Attachment: LUCENE-3829.patch

Patch showing the failure (you have to remove the true || in
TestDocValuesIndexing.testWithThreads), and also (separately) adding
DV coverage to LineFileDocs for better test coverage.

I'll commit the patch shortly (it's tests only, and passing because I
disabled testing DirectSource with threads until we can fix this
issue; we still test Source with threads).

> Lucene40 codec's DocValues DirectSource impls aren't thread-safe
> ----------------------------------------------------------------
>                 Key: LUCENE-3829
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message