Make DynamoDBRefDatebase class implement ExtendedGlobalRefDatabase

ExtendedGlobalRefDatabase provides `put` function to update item
in the DynamoDB. Opposite to compareAndPut this method is not
checking current global-refdb value. `put` method should be used
to update value when atomicity doesn't have to be ensured.

Bug: Issue 297440085
Change-Id: Ic50b07d5aac0f533fd81d019b606848a522b2ed5
2 files changed
tree: db1d54953e9e679016fe0dcd2c67fcebf384619e
  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.