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

Adrien Grand updated LUCENE-6500:
---------------------------------
    Attachment: LUCENE-6500.patch

Here is a patch: it does not prevent closing sub readers anymore in the 
composite case, so that closed listeners will be called on the underlying 
parallel leaf readers which are exposed through {{leaves()}} and may be used to 
register closed listeners.

[~thetaphi] svn blame indicates that you should be quite familiar with this 
class, would you mind having a look? Thanks!

> 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]

Reply via email to