[jira] [Resolved] (LUCENE-8309) Don't use mutable FixedBitSets as live docs Bits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (LUCENE-8309) Don't use mutable FixedBitSets as live docs Bits

JIRA jira@apache.org

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

Adrien Grand resolved LUCENE-8309.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)
                   7.4

> Don't use mutable FixedBitSets as live docs Bits
> ------------------------------------------------
>
>                 Key: LUCENE-8309
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8309
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: 7.4, master (8.0)
>
>         Attachments: LUCENE-8309.patch
>
>
> Simon mentioned this idea first: it would be nice to not expose mutable fixedbitsets as live docs, which makes it easy for consumers of live docs to resurrect some documents by casting to a FixedBitSet and potentially corrupt the index.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]