Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4533

OakResourceListener does not allow to configure the OAK observation queue length

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.5.0
    • JCR Resource 2.5.2
    • JCR, Oak
    • None

    Description

      Currently the OakResourceListener does not allow to configure the OAK observation queue length when instantiating the OAK BackgroundObserver. Thus the default queue size of 1000 is used.

      If the max queue size is reached, OAK seem's to turn the observation in a 'graceful degratation' mode, which leads to a compacted view of observations. Means, not every single observation makes it to the observer no more. From the point of view of the Sling resource changed events, this looks like some events are missing.

      I would propose to make the OAK observation queue size configurable in order to have the possibility to avoid 'graceful degratation'.

      Attachments

        1. SLING-4533-improved.patch
          5 kB
          Marc Pfaff
        2. SLING-4533.patch
          5 kB
          Marc Pfaff

        Activity

          People

            cziegeler Carsten Ziegeler
            pfaffm@adobe.com Marc Pfaff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: