Merge branch 'stable-3.3'

* stable-3.3:
  Format BUILD file
  Normalize chronicle-map configuration parameters
  Delegate to memory cache factory for non persistent caches
  Expose hot keys metrics
  Expose remaining auto resizes free metric
  Expose percentage free space metric for each cache
  Bump up chronicle-map to 3.20.84
  Replace wrong "entries" parameter in docs and commands
  Evict cache entries when free space gets low
  Make admins aware that diskLimit cannot be honoured
  Provide SSH command to analyze H2 caches
  Honour cache versioning

Change-Id: I06b01b34b78cd8bc8943c2ef3e9135164ac1aebd
tree: feb695bc05edd295d3de87bac949debfd0fe4024
  1. src/
  2. .gitignore
  3. BUILD
  4. build.md
  5. config.md
  6. external_plugin_deps.bzl
  7. Jenkinsfile
  8. LICENSE
  9. metrics.md
  10. README.md
  11. 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.