apache / apache/lucene

Add VirusCheckingFS mock filesystem [LUCENE-6848]

Open
#7,906 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-fix-version:6.0 legacy-jira-priority:Major type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Blocker task for #7893, where we want to make it `Directory`'s job (not `IndexWriter`'s) to retry file deletion on platforms (Windows) where it can fail (because the file is still open somewhere).

But in #7893 I had to remove the virus checking that MDW does, which means for our tests we need to move it down lower into the filesystem, I think as a new VirusCheckingFS.

@rmuir has some good ideas about how to do this deterministically...

---
Migrated from [LUCENE-6848](https://issues.apache.org/jira/browse/LUCENE-6848) by Michael McCandless (@mikemccand), updated May 09 2016
Linked issues:
- #7893

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.