You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/09/17 00:02:34 UTC

[jira] [Reopened] (LUCENE-5922) DocValuesDocIdSet is not cacheable

     [ https://issues.apache.org/jira/browse/LUCENE-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless reopened LUCENE-5922:
----------------------------------------

I'll backport to 4.9.1...

> DocValuesDocIdSet is not cacheable
> ----------------------------------
>
>                 Key: LUCENE-5922
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5922
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.10
>            Reporter: Adrien Grand
>             Fix For: 4.11, 5.0, 4.9.1
>
>         Attachments: LUCENE-5922.patch
>
>
> This DocIdSet claims it is cacheable although bad things could happen if it was cached since it is not thread-safe and keeps handles to open files.
> The fix is simple, especially given that this doc id set is cheap to create. But I'm wondering if there is a way we could protect ourselves from such bugs in the future.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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