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

DataStoreBlobStore#getAllChunkIds fetches DataRecord when not needed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.17, 1.4.4, 1.5.4, 1.6.0
    • blob
    • None

    Description

      DataStoreBlobStore#getAllChunkIds loads the DataRecord for checking that the lastModifiedTime criteria is satisfied against the given maxLastModifiedTime.
      When the maxLastModifiedTime has a value 0 it effectively means ignore any last modified time check (and which is the only usage currently from MarkSweepGarbageCollector). This should ignore fetching the DataRecords as this can be very expensive for e.g on calls to S3 with millions of blobs.

      Attachments

        Issue Links

          Activity

            People

              amitjain Amit Jain
              amitjain Amit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: