commit | 266581075276aee96d1ad53fc7b476135efd8547 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Wed Jan 27 16:38:05 2021 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Thu Jan 28 19:54:39 2021 +0000 |
tree | 99772a584943b0fc62b19268272046ac7536e270 | |
parent | da9dfb1b9dce1626a151ecfad097de8509655dff [diff] |
Fix incorrect compareAndPut behaviour for Noop The Noop implementation should always consider ref up-to-date. Returning false from compareAndPut() would cause ref-update commands to be invalidated before actually being executed. Fix one of the Noop implementations of compareAndPut(), which was erroneously returning false, and thus never considering the ref up-to-date. Change-Id: Icd4f5a5bb01ee006b76617a7b5f486f951393ae1
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.