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

Simon Willnauer updated LUCENE-5362:
------------------------------------

    Attachment: LUCENE-5362.patch

bq. The first ensureOpen() in incRef() now seems redundant after this patch?

agreed - uploaded a new patch

> IndexReader and friends should check ref count when incrementing
> ----------------------------------------------------------------
>
>                 Key: LUCENE-5362
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5362
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.6
>            Reporter: Simon Willnauer
>             Fix For: 5.0, 4.7
>
>         Attachments: LUCENE-5362.patch, LUCENE-5362.patch
>
>
> IndexReader and SegmentCoreReaders blindly increments it's refcount which 
> could already be counted down to 0 which might allow an IndexReader  to "rise 
> from the dead" and use an already closed SCR instance. Even if that is caught 
> we should try best effort to raise ACE asap.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to