Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 65466 invoked from network); 6 Apr 2011 13:47:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 13:47:44 -0000 Received: (qmail 77375 invoked by uid 500); 6 Apr 2011 13:47:43 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 77322 invoked by uid 500); 6 Apr 2011 13:47:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 77314 invoked by uid 99); 6 Apr 2011 13:47:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 13:47:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 13:47:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B1367955F8 for ; Wed, 6 Apr 2011 13:47:05 +0000 (UTC) Date: Wed, 6 Apr 2011 13:47:05 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <27785692.37921.1302097625722.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1053795391.37902.1302097025990.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3015) UDIDIndexWriter keeps write lock on corrupt index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016373#comment-13016373 ] Uwe Schindler commented on LUCENE-3015: --------------------------------------- What are you talking about? Lucene has no class "UDIDIndexWriter", so maybe thats an external customization. If this is the case, I will close the issue. > UDIDIndexWriter keeps write lock on corrupt index > ------------------------------------------------- > > Key: LUCENE-3015 > URL: https://issues.apache.org/jira/browse/LUCENE-3015 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.9.3 > Environment: Lucene 2.9.3 > Reporter: Christian Danninger > > Try to open an index writer with > new UDIDIndexWriter(directory, new FakeAnalyzer(), false); > keeps a write.lock. > Creating the IndexWriter will succeed, but a subsequent call to UDIDIndexWriter.getCounter() in the constructor failes. > There are no possibilites to remove write.lock per an API call. > The index writer is used to optimize the index, the index itself will be created by an different index. So after some time the index will be valid again, but the write lock still exists. So the process has to ended first an afterward the write lock could be removed. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org