[
https://issues.apache.org/jira/browse/LUCENE-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841829#comment-13841829
]
Uwe Schindler commented on LUCENE-5362:
---------------------------------------
+1, looks correct. SegemntCoreReaders atomic increment is also correct -
@BrianGoetzSays :-)
> 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]