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

only IndexFileDeleter should delete files

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      Currently the codec API has SI writers, stored fields writers, and term vectors writers all deleting files, Stored fields and term vectors codec APIs have abort() methods, etc.

      This is outdated and scary, since TrackingDirectoryWrapper is used to the list of files the codec used, and this is ultimately passed to IndexFileDeleter.

      Attachments

        1. LUCENE-6082.patch
          14 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: