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

avoid CommitInfo==null in contentChanged call in SegmentNodeStore.refresh

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.5.12
    • Fix Version/s: None
    • Component/s: segmentmk
    • Labels:
      None

      Description

      Currently SegmentNodeStore.refreshHead calls contentChanged with null as the CommitInfo. This is problematic for prefiltering (OAK-4796, OAK-4907 et al) as for that a ChangeSet of changed items in a commit is stored in the CommitContext in the CommitInfo.

      Thus it would be useful to not send null but a CommitInfo that has the equivalent meaning of null but is a new object for each call (so that the ChangeSet can be set).

      Michael Dürig, Francesco Mari, [~alex.parvulescu] wdyt?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefanegli Stefan Egli
                Reporter:
                stefanegli Stefan Egli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: