commit | 60ea57e0ebe21d60eec61b272c83beee702e8941 | [log] [tgz] |
---|---|---|
author | Martin Fick <mfick@codeaurora.org> | Thu Mar 25 15:19:51 2021 -0700 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Mar 25 22:19:51 2021 +0000 |
tree | 12844dc137f70967638f69463c0d533b3b6903b4 | |
parent | 877c59870e818c654cb1550147c8cb602799c695 [diff] |
Update git submodules * Update plugins/replication from branch 'master' to 839bbc509216fd4386c226697d732f96f2cb794c - Avoid checking for existing tasks while pruning When the distributor runs, it now stores a snapshot of pending pushes and then removes from this snapshot all the RefUpdates which were found while adding pending persisted tasks. The remaining pushes in the snapshot can now be pruned without needing to do an existence check on them since they were no longer stored persistently (and thus no longer needed to be executed). This effectively makes pruning I/O less, thereby reducing the load put by distributor on disk I/O. Change-Id: I0916a57b302fd7d207fd31ec26df65d262a76124 - Add a test to cover Distributor pruning feature To test if distributor can prune, we add an event to storage and then delete the waiting task from storage to simulate it being started by another node. We then assert that the project task gets pruned from the work queue by the time the next distribution cycle completes. Change-Id: Ifeed8444986be03bddf443fed94170c8ee5ae72c
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 8 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8
To run a Ubuntu 20.04 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.