Provide SSH command to analyze H2 caches

Understanding how to configure cache-chroniclemap might be quite
difficult without having more information about the size of the caches
and average values of their keys and values.

Provide an SSH command so that cache-chroniclemap can be installed as a
plugin before being actually installed as lib module, in order to gather
information about the existing persisted H2 caches.

Bug: Issue 13475
Change-Id: I6f6ec28d68d9e5f9ff971a494bd45fd013e16d82
6 files changed
tree: 80db13b1be1b8cb0eab5912d103f7841f69c650f
  1. src/
  2. .gitignore
  3. BUILD
  4. build.md
  5. config.md
  6. external_plugin_deps.bzl
  7. Jenkinsfile
  8. LICENSE
  9. README.md
  10. tuning.md
README.md

Persistent cache for Gerrit, based on ChronicleMap

Non-blocking and super-fast on-disk cache libModule for Gerrit Code Review based on ChronicleMap on-disk implementation.

How to build

This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.

Setup

  • Install cache-chronicalmap module

Install the chronicle-map module into the $GERRIT_SITE/lib directory.

Add the cache-chroniclemap module to $GERRIT_SITE/etc/gerrit.config as follows:

[gerrit]
  installModule = com.googlesource.gerrit.modules.cache.chroniclemap.ChronicleMapCacheModule

For further information and supported options, refer to config documentation.