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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.10.0, 1.9.9, 1.8.12
    • Component/s: lucene
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: