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
2 files changed
tree: f2fc37f29f24a174f37931f15498090a78271119
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

Gerrit DynamoDB ref-db

This plugin provides an implementation of the Gerrit global ref-db backed by AWS DynamoDB.

Requirements for using this plugin are:

  • Gerrit v3.3 or later
  • DynamoDB provisioned in AWS

Typical use-case

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.