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

Incorrect minTimestamp in DocumentNodeStore.diffImpl()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.8, 1.5.6
    • Fix Version/s: 1.5.15, 1.6.0, 1.4.18
    • Component/s: core, documentmk
    • Labels:
      None

      Description

      The minTimestamp is calculated incorrectly to decide whether the journal can be used for the diff. The timestamp must be calculated from the root revisions of the node states to compare and not the revisions they were last modified. The last modified revision can potentially point very far into the past and result in a fall back to a more expensive diffManyChildren().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: