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

SegmentArchiveManager#listArchives should only return tar files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0, 1.10.0
    • Component/s: segment-tar
    • Labels:
      None

      Description

      Apparently SegmentArchiveManager#listArchives currently returns all files in the segment store directory and relies on callers to filter out extraneous entries. We should change this and

      • clearly indicate in the method contract that only files ending in .tar are returned.
      • fix the implementations accordingly.

       

        Attachments

          Activity

            People

            • Assignee:
              tomek.rekawek Tomek Rękawek
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: