You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/12/06 21:07:37 UTC

[jira] [Created] (LUCENE-5362) IndexReader and friends should check ref count when incrementing

Simon Willnauer created LUCENE-5362:
---------------------------------------

             Summary: 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


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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org