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

FileStore.containsSegment returns alway true (almost)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • segmentmk

    Description

      FileStore.containsSegment() looks funky. This "optimisation" causes it to always return true.

      containsSegment is used for deduplication and revision gc. The current implementation causes SNFE exceptions once gc is effective (as I experienced while working on OAK-3348).

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: