commit | 077c85bd289d5e60fc05249e69f2a27496588ebc | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 29 22:29:28 2023 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 29 22:31:40 2023 +0100 |
tree | 05e9e7df7be2455fb9c1719c26b00feb8eeeefe2 | |
parent | a385020391d14021a307cbf289b92e39af17f213 [diff] |
Add warning when the GlobalRefDatabase is not injected The DynamicItem<GlobalRefDatabase> is bound using the LibModule provided by global-refdb.jar; however, failing to install the module at Gerrit startup may lead to using a NOOP implementation without being noticed by the Gerrit admin. Add an explicit warning message so that the error can be easily spotted and corrected. Change-Id: I4fbec122ed6a289341c9938cce9c212cc34fa7e4
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.