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

Remove orphan file from local directory in case indexing fails

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: lucene
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: