Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB33911F69 for ; Tue, 26 Aug 2014 22:17:59 +0000 (UTC) Received: (qmail 71855 invoked by uid 500); 26 Aug 2014 22:17:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 71780 invoked by uid 500); 26 Aug 2014 22:17:58 -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 71763 invoked by uid 99); 26 Aug 2014 22:17:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 22:17:58 +0000 Date: Tue, 26 Aug 2014 22:17:58 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-5904) Add MDW.enableVirusScanner / fix windows handling bugs 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-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111448#comment-14111448 ] ASF subversion and git services commented on LUCENE-5904: --------------------------------------------------------- Commit 1620753 from [~mikemccand] in branch 'dev/branches/lucene5904' [ https://svn.apache.org/r1620753 ] LUCENE-5904: first cut at gen inflation to prevent index corruption when files are re-used after first IW has unclean shutdown and 2nd IW encounters virus checker > Add MDW.enableVirusScanner / fix windows handling bugs > ------------------------------------------------------ > > Key: LUCENE-5904 > URL: https://issues.apache.org/jira/browse/LUCENE-5904 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Attachments: LUCENE-5904.patch, LUCENE-5904.patch, LUCENE-5904.patch, LUCENE-5904.patch, LUCENE-5904.patch > > > IndexWriter has logic to handle the case where it can't delete a file (it puts in a retry list and indexfiledeleter will periodically retry, you can force this retry with deletePendingFiles). > But from what I can tell, this logic is incomplete, e.g. its not properly handled during CFS creation, so if a file temporarily can't be deleted things like flush will fail. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org