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

Add MBean to enforce session refresh on all open sessions

    XMLWordPrintableJSON

    Details

      Description

      Long running sessions limit the efficient of revision gc as they keep reference to old node states.

      We should consider to add an MBean through which all sessions can be enforced to refresh. This would provide clients with means to fine tune revision gc by first calling that MBean and then triggering a gc cycle. IMO this is preferable to directly enforcing a refresh from the garbage collector. The latter is too invasive and also not required when there are no long running sessions. Offering this functionality to clients as an additional knob to turn is safer.

        Attachments

        1. OAK-2954.patch
          7 kB
          Michael Dürig

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: