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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.0.4, 1.1.0
    • core, segmentmk
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: