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

TarMK: FileStore constructor loads all entries in the journal.log

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4, 1.1.0
    • Component/s: core, segmentmk
    • Labels:
      None

      Description

      The FileStore constructor currently creates RecordId and SegmentId instances for each line in the journal.log, which together with the SegmentId tracking code in SegmentTracker ends up taking quite a while. Additionally loading all those SegmentIds will make it harder for the garbage collector to release old, unused segments.

        Attachments

          Activity

            People

            • Assignee:
              jukkaz Jukka Zitting
              Reporter:
              jukkaz Jukka Zitting
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: