[
https://issues.apache.org/jira/browse/LUCENE-6500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558906#comment-14558906
]
Adrien Grand commented on LUCENE-6500:
--------------------------------------
bq. In addition there is now (after your patch) an assymetry between atomic
leaves and composite sub readers... Does't the same problem apply to atomic
readers?
Since prepareSubReaders wraps leaves recursively with ParallelCompositeReader
in the composite case, I was thinking it should be fine, since at least the
lower-level which is wrapping leaf readers would wrap with a ParallelLeafReader
that prevents closing of sub readers?
For the record, no existing tests failed with the change I made.
> 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]