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

CopyOnReadDirectory#removeDeletedFiles asks IndexCopier to check timestamp for (remote only) segments.gen leading to failure to clean up local files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.7
    • 1.10.0, 1.9.9, 1.8.12
    • lucene
    • None

    Description

      With OAK-7246, CopyOnReadDirectory#removeDeletedFiles asks IndexCopier to get timestamp of files from local directory depending on files visible in remote. That method returns -1 (representing "I can't be sure") in case a file doesn't exist in local directory - "segments.gen" is expected to be REMOTE_ONLY and local file clean up gets skipped

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: