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

Include initial cost in stats for observation processing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.10, 1.6.0
    • jcr

    Description

      The jackrabbit-jcr-commons ListenerTracker collects timing for JCR event listeners. It tracks producer (oak internal) and consumer (JCR EventListener) time. The initial producer cost is currently not reflected in these stats, because ChangeProcessor in oak-jcr does an initial hasNext() on the EventIterator outside of the ListenerTracker. For some listeners this initial producer time may even account for the entire cost when the event filter rejects all changes.

      Attachments

        1. OAK-4749.patch
          1 kB
          Marcel Reutegger

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: