Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-593 Segment-based MK
  3. OAK-630

SegmentMK: Implement compareAgainstBaseState

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • segmentmk
    • None

    Description

      Currently the SegmentNodeState class simply inherits the generic compareAgainstBaseState() implementation from the AbstractNodeState base class. While functionally complete, this generic implementation is pretty slow as it can't leverage lower level information about how nodes are actually stored.

      I already improved the situation somewhat by implementing a basic optimization in SegmentNodeState.equals(), but to get the full benefits of the segment model we should implement the full compareAgainstBaseState() mechanism based directly on the in-segment data structures.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: