commit | 2022ae7d1a4893c6e7b9d11484d3244b744c58f4 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 26 21:03:36 2023 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 26 20:23:11 2023 +0000 |
tree | ed62c279b5413350916d9b9e540757ebced2f0ad | |
parent | 0c81c459dc1ac733220e507a7fa855bb3d19e71c [diff] |
Configure the set of refs prefixes to be ignored by the global-refdb Introduce the ref-database.ignoredRefsPrefixes to disable the global-refdb tracking and validation of a set of refs. Example of configuration for ignoring the user's sandbox branches and the refs created by the ref-protection plugin: [global-refdb] ignoreRefsPrefixes = refs/sandbox ignoreRefsPrefixes = refs/backups Change-Id: I0de509851359b712bae7cc197fca2e05f7554822
Global ref-database interface for use with Gerrit Code Review.
Enables the de-coupling between Gerrit, its libModules and the different implementations of a globally shared ref-database.
The design for a global ref-db interface can be found as part of the multi-site design documentation, where it first originated and was approved by the community.
In order to consume this library, some Guice bindings need to be registered appropriately. More information in the relevant documentation.
Global ref-database expose metrics to measure the global ref-database operation latency. List of the available metrics can be found here.