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

Improve CommitRateLimiter to optionally block some commits

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.12, 1.6.0
    • Component/s: jcr
    • Labels:

      Description

      The CommitRateLimiter of OAK-1659 can delay commits, but doesn't currently block them, and delays even those commits that are part of handling events. Because of that, the queue can still get full, and possibly delaying commits while handling events can make the situation even worse.

      In Jackrabbit 2.x, we had a similar feature: JCR-2402. Also related is JCR-2746.

        Attachments

        1. OAK-4522-c.patch
          22 kB
          Thomas Mueller
        2. OAK-4522-b.patch
          22 kB
          Thomas Mueller
        3. OAK-4522.patch
          8 kB
          Thomas Mueller

          Issue Links

            Activity

              People

              • Assignee:
                thomasm Thomas Mueller
                Reporter:
                thomasm Thomas Mueller
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: