Merge branch 'stable-3.4'

* stable-3.4:
  Use existing pre-configured cache config for H2 migration
  Allow migrating H2 to ChronicleMap from non-admin
  Remove unused fields and imports
  Add serialVersionUID in inner anonymous class
  Fix references to put method in JavaDoc
  Suppress unchecked, cast and rawtypes warnings
  Remove unused variable and method in test
  Assert return value when creating project in test
  Remove unneeded else condition
  Remove duplicate fields exposed by AbstractDaemonTest

Change-Id: Iea0815f4e7fed75d78a4cd2b684a96065a3d6dc5
tree: 17f4ef6a1bdd362728063a42096a8bed4ba2cb6b
  1. src/
  2. .gitignore
  3. BUILD
  4. external_plugin_deps.bzl
  5. Jenkinsfile

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.


  • 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:

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

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

Migration from H2 caches

You can check how to migrate from H2 to chronicle-map here.