Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6771

WindowsFS should simulate "pending delete" state for a file too

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      NTFS has a state for a file called "pending delete", where a delete was tried ("succeeded", if the files was opened with shared access), but if there were still open file handles on that file, the file is in "pending delete" state where it is listed in the directory but cannot be written, read nor deleted.

      thetaphi suggested WindowsFS should try to emulate this too, and I agree: it would maybe have made it easier to repro some recent Windows-only test failures.

      See the comment on LUCENE-6684 for more details...

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: