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

Expose jmx to invalidate cache entries

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.18.0
    • Component/s: documentmk
    • Labels:
      None

      Description

      We have had some issues (e.g. OAK-3634) which put incorrect entry in the some cache. Currently, the only way to clean cache is to restart the instance (and remove persistent cache files if configured).

      So, it might be useful to expose some jmx to invalidate cache without restarting the instance. As a first step, I think we can clean all caches (which is equivalent to current setup but without restart). We can later expose invalidation methods for specific cases (say, cacheType, path, rev as applicable).

        Attachments

        1. expose-jmx-invalidate-cache-OAK3895.patch
          7 kB
          José Andrés Cordero Benítez

          Activity

            People

            • Assignee:
              mreutegg Marcel Reutegger
              Reporter:
              catholicon Vikas Saurabh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: