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

The dest file might be deleted later by FSDirectory#rename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.4, 8.0
    • None
    • None
    • None
    • New

    Description

      When renaming a file, `FSDirectory#rename` tries to delete the dest file if it's in the pending deletes list. If that delete fails, it adds the dest to the pending deletes list again. This causes the dest file to be deleted later by `deletePendingFiles`.

      This was introduced by LUCENE-8275.

      Attachments

        1. LUCENE-8318.patch
          6 kB
          Simon Willnauer
        2. LUCENE-8318.patch
          5 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            dnhatn Nhat Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: