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

SegmentNodeState.fastEquals() can trigger two I/O operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • None
    • None
    • segment-tar

    Description

      The implementation of SegmentNodeState.fastEquals() compares the stable IDs of two instances of SegmentNodeState. In some cases, reading the stable ID would trigger a read of an additional record, the block record containing the serialized version of the segment ID.

      This issue is about evaluating the performance implications of this strategy and, in particular, if it would be better to store the serialized stable ID in the node record itself.

      Attachments

        Issue Links

          Activity

            People

              frm Francesco Mari
              frm Francesco Mari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: