Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 37509 invoked from network); 3 Mar 2007 14:43:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2007 14:43:14 -0000 Received: (qmail 75627 invoked by uid 500); 3 Mar 2007 14:43:20 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 75567 invoked by uid 500); 3 Mar 2007 14:43:20 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 75556 invoked by uid 99); 3 Mar 2007 14:43:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2007 06:43:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2007 06:43:10 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B0E70714336 for ; Sat, 3 Mar 2007 06:42:50 -0800 (PST) Message-ID: <5002630.1172932970694.JavaMail.jira@brutus> Date: Sat, 3 Mar 2007 06:42:50 -0800 (PST) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-820) SegmentReader.setNorm can fail to remove separate norms file, on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org SegmentReader.setNorm can fail to remove separate norms file, on Windows ------------------------------------------------------------------------ Key: LUCENE-820 URL: https://issues.apache.org/jira/browse/LUCENE-820 Project: Lucene - Java Issue Type: Bug Components: Index Affects Versions: 2.1 Reporter: Michael McCandless Assigned To: Michael McCandless Priority: Minor Fix For: 2.2 While working through LUCENE-710 I hit this bug: on Windows only, when SegmentReader.setNorm is called, but separate norms (_X_N.sY) had already been previously saved, then, on closing the reader, we will write the next gen separate norm file correctly (_X_N+1.sY) but fail to delete the current one. It's quite minor because the next writer to touch the index will remove the stale file. This is because the Norm class still holds the IndexInput open when the reader commits. -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org