Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 75072 invoked from network); 25 Jun 2009 22:52:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 22:52:29 -0000 Received: (qmail 41390 invoked by uid 500); 25 Jun 2009 22:52:39 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 41302 invoked by uid 500); 25 Jun 2009 22:52:39 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 41292 invoked by uid 99); 25 Jun 2009 22:52:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 22:52:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 22:52:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDB3A234C004 for ; Thu, 25 Jun 2009 15:52:07 -0700 (PDT) Message-ID: <346934027.1245970327894.JavaMail.jira@brutus> Date: Thu, 25 Jun 2009 15:52:07 -0700 (PDT) From: "Yonik Seeley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1248) IndexReader reference counting bug In-Reply-To: <2004745167.1245963487487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-1248: ------------------------------- Attachment: SOLR-1248.patch With the patch to SolrIndexReader.toString() you can see the reference count climb every time you do a commit(). With the patch to SolrIndexSearcher(), it doesn't happen any more. > IndexReader reference counting bug > ---------------------------------- > > Key: SOLR-1248 > URL: https://issues.apache.org/jira/browse/SOLR-1248 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Yonik Seeley > Fix For: 1.4 > > Attachments: SOLR-1248.patch > > > close() only works once on an IndexReader - we should use decRef() instead. > http://search.lucidimagination.com/search/document/487bd45222556c15/is_close_correct -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.