commit | 7358c814bf152197da611c299534f83d7bd80c99 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Tue Sep 29 14:05:13 2020 +0200 |
committer | Antonio Barone <syntonyze@gmail.com> | Thu Oct 01 07:03:26 2020 +0000 |
tree | 04529eb05677b02b0763541b08274545867accb1 | |
parent | 5651db9cc7bb2e480903f24d4cac720346c2c3c8 [diff] |
Prevent Gerrit from starting when the cache dir is not writeable When the cache directory was not accessible and writeable by the Gerrit user, an error was logged but Gerrit was starting without persistent cache anyway. Do not hide cache directory issues but rather expose the error so that the Gerrit server will not start inadvertently without persistent cache. Bug: Issue 13415 Change-Id: I35191ba4d7bdfc6d12caeddec8ad733fa87f4cf1
Non-blocking and super-fast on-disk cache libModule for Gerrit Code Review based on ChronicleMap on-disk implementation.
This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.
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.