Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7065

Remove orphan file from local directory in case indexing fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • lucene
    • None

    Description

      If an indexing cycle fails for some reason it may leave orphan files in local directory. Later on in next indexing cycle Lucene would try to create files with same name on local disk and this may fail on Windows where such files may have been memory mapped and hence cannot be deleted.

      We should analyze such a scenario and see if system can handle the failure case properly

      Attachments

        1. OAK-7065.patch
          40 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: