Gerrit module for using the ChronicleMap as cache persistence layer

Clone this repo:
  1. d070b75 Merge branch 'stable-3.3' by Marcin Czech · 14 days ago master
  2. 62662f8 Fix tests flakiness and adopt code to Java 11 by Marcin Czech · 2 weeks ago
  3. e0d6b22 Add build validation of incoming changes by Luca Milanesio · 2 weeks ago
  4. 0fcad1a Introduce per-cache default values by Antonio Barone · 3 weeks ago
  5. 7358c81 Prevent Gerrit from starting when the cache dir is not writeable by Antonio Barone · 3 weeks ago

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.