[ 
https://issues.apache.org/jira/browse/LUCENE-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-5904:
--------------------------------

    Attachment: LUCENE-5904.patch

Updated patch. I also fixed a few more false fails.

Still in general, there are interesting failures every time you run core tests 
with the patch. testThreadInterruptDeadlock got angry because write.lock 
couldn't be removed, need to investigate that deletion further.

I also havent looked at this:
{noformat}
   [junit4] Suite: org.apache.lucene.index.TestCodecHoldsOpenFiles
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestCodecHoldsOpenFiles -Dtests.method=test 
-Dtests.seed=1908AF7C5FA5D64A -Dtests.locale=sl -Dtests.timezone=Asia/Bangkok 
-Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.01s J1 | TestCodecHoldsOpenFiles.test <<<
   [junit4]    > Throwable #1: java.io.FileNotFoundException: segments_1 in 
dir=RAMDirectory@25ac448 
lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@150c542d
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([1908AF7C5FA5D64A:915C90A6F159BBB2]:0)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:593)
   [junit4]    >        at 
org.apache.lucene.store.Directory.openChecksumInput(Directory.java:106)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:347)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:458)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:794)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:640)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:454)
   [junit4]    >        at 
org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:398)
{noformat}

> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to