Make admins aware that diskLimit cannot be honoured

Due to the very nature of chronicle-map persisted file pre-allocation,
the diskLimit configuration cannot be used to limit the file size on
disk.

Warn the admins with a meaningful log message and document this
behaviour in config.md

Bug: Issue 13458
Change-Id: Id65886dff3f20501d30384066bb6eeada1805d34
2 files changed
tree: 1598df70c09f04ee0be507f3a3e331eb902a91ea
  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.