Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4796 Filter events before adding to ChangeProcessor's queue
  3. OAK-4908

Best-effort prefiltering in ChangeProcessor based on ChangeSet

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.11
    • 1.5.13, 1.6.0
    • core, jcr

    Description

      This is a subtask as a result of discussions around design in OAK-4796:

      Based on the ChangeSet provided with OAK-4907 in the CommitContext, the ChangeProcessor should do a best-effort prefiltering of commits before they get added to the (BackgroundObserver's) queue.

      This consists of the following parts:

      • the support for optionally excluding commits from being added to the queue in the BackgroundObserver EDIT: factored that out into OAK-4916
      • the BackgroundObserver signaling downstream Observers that a change should be excluded via a NOOP_CHANGE CommitInfo EDIT: factored that out into OAK-4916
      • the ChangeProcessor using OAK-4907's ChangeSet of the CommitContext for best-effort prefiltering - and handling the NOOP_CHANGED CommitInfo introduced in OAK-4916

      Attachments

        1. OAK-4908.patch
          48 kB
          Stefan Egli
        2. OAK-4908.v2.patch
          50 kB
          Stefan Egli
        3. OAK-4908.v3.patch
          83 kB
          Stefan Egli
        4. OAK-4908.v4.patch
          82 kB
          Marcel Reutegger
        5. OAK-4908.v5.patch
          84 kB
          Stefan Egli

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: