[ https://issues.apache.org/jira/browse/LUCENE-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842471#comment-13842471 ]
ASF subversion and git services commented on LUCENE-5362: --------------------------------------------------------- Commit 1549012 from [~simonw] in branch 'dev/trunk' [ https://svn.apache.org/r1549012 ] LUCENE-5362: IndexReader and SegmentCoreReaders now throw AlreadyClosedException if the refCount in incremented but is less that 1. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org