Gerrit/Replica

From Wikitech

gerrit-replica is a read-only replica of the Gerrit instance we run. It is used by Phabricator and ExtensionDistributor, among others.

Usage

For services that can accept slightly delayed updates to repositories, using the replica will help in keeping the load on the main Gerrit instance low.

Urls are identical to the canonical instance, but use gerrit-replica.wikimedia.org, instead of gerrit.wikimedia.org.


If you have bots fetching from Gerrit (such as refreshing a list of repositories), consider using the replica with the following gitconfig:

  [url "https://gerrit-replica.wikimedia.org/r"]
       insteadOf = https://gerrit.wikimedia.org/r