commit | b13e4fc93ad747557406090807e929a6342117a5 | [log] [tgz] |
---|---|---|
author | Marcin Czech <maczech@gmail.com> | Tue Sep 12 16:30:55 2023 +0200 |
committer | Marcin Czech <maczech@gmail.com> | Fri Oct 13 14:06:50 2023 +0000 |
tree | f2fc37f29f24a174f37931f15498090a78271119 | |
parent | ee898ceca473ba8e763ec749e067a6a7adceb968 [diff] |
computeAndPut should return false instead throwing exception Return false instead of throwing `GlobalRefDbSystemError` when global-refdb expected value doesn't match expected one. This will match existing contract defined in global-refdb `GlobalRefDatabase` interface[1]. 1.https://gerrit.googlesource.com/modules/global-refdb/+/refs/heads/stable-3.4/src/main/java/com/gerritforge/gerrit/globalrefdb/GlobalRefDatabase.java#76 Bug: Issue 297440085 Change-Id: I7b4beb1c107a2e54c7aa9bd4038042912a96bc3d
This plugin provides an implementation of the Gerrit global ref-db backed by AWS DynamoDB.
Requirements for using this plugin are:
The global ref-db is a typical use-case of a Gerrit multi-master scenario in a multi-site setup. Refer to the Gerrit multi-site plugin for more details on the high level architecture.