lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gui Forget (JIRA)" <>
Subject [jira] Created: (LUCENE-1983) IndexInput not closed by MultiLevelSkipListReader
Date Wed, 14 Oct 2009 17:50:31 GMT
IndexInput not closed by MultiLevelSkipListReader

                 Key: LUCENE-1983
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.4
            Reporter: Gui Forget
            Priority: Minor

IndexInput objects cloned by the SegmentTermDocs and passed to the MultiLevelSkipListReader
are never closed. 

The trace of the creation is as follow (with Lucene 2.4.1):
	at org.apache.lucene.index.CompoundFileReader$CSIndexInput.clone(
	at org.apache.lucene.index.SegmentTermDocs.skipTo(

Because they are cloned, close() is a no-op but such assumption should not be made in my opinion
and objects should be properly closed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message