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

Large number of queued EventGenerator.Continuation on big transactions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: core
    • Labels:
      None

      Description

      The queue of EventGenerator.Continuation grows in the order of changed number of leave nodes instead of in the order of the depth of the changed sub tree.

      This is caused by the EventGenerator processing events in a breath first manner causing events from each level of the tree to be held in the tree until all lower levels have been processed. I suggest to change the processing order to depth first, which should significantly lower the upper bound of the number of queued Continuation instances.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mduerig Michael Dürig
                Reporter:
                mduerig Michael Dürig
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: