[
https://issues.apache.org/jira/browse/LUCENE-6500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559025#comment-14559025
]
Uwe Schindler commented on LUCENE-6500:
---------------------------------------
Hi I implemented the last approach. Makes code much simpler. The
ParallelComposite Reader now has the same leaves, but the structure was
flattened. By that, the inner composite readers are never wrapped. We just
build a new reader with the same leaves as the original, but flattened
structure. I will now just add a test that it also works with MultiReaders that
are marked as non-closed (which are incRefed and decRefed on close).
> ParallelCompositeReader does not always call closed listeners
> -------------------------------------------------------------
>
> Key: LUCENE-6500
> URL: https://issues.apache.org/jira/browse/LUCENE-6500
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-6500.patch
>
>
> CompositeParallelReader misses to call closed listeners when the reader which
> is provided at construction time does not wrap leaf readers directly, such as
> a multi reader over directory readers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]