| commit | 18f309b5fa632d4834deeb501bfeada048e2c10e | [log] [tgz] |
|---|---|---|
| author | Nasser Grainawi <nasser.grainawi@linaro.org> | Tue Jul 30 11:03:11 2024 -0600 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 30 17:03:11 2024 +0000 |
| tree | b3eea02d49274dd23fd8dea88e9ad803539fe0cb | |
| parent | 866b082f1ee6f789b47a132ad880d846d28fbe79 [diff] |
Update git submodules
* Update plugins/replication from branch 'master'
to cf0aea56d2efad79bcb84df37edc32c01bf8afb7
- Merge branch 'stable-3.10'
* stable-3.10:
PushOne: Remove unused addRef() method
TasksStorage: Remove synchronized from methods
Place the replaying flag clearing in a finally
Demote delete errors when distributor is enabled
distributor: Reduce log level for no-op consolidations
Change-Id: I3ce1519c44ec6cbae7725527ea626e55401cc488
Release-Notes: skip
- Merge branch 'stable-3.8' into stable-3.10
* stable-3.8:
PushOne: Remove unused addRef() method
TasksStorage: Remove synchronized from methods
Place the replaying flag clearing in a finally
Demote delete errors when distributor is enabled
distributor: Reduce log level for no-op consolidations
Change-Id: I15eb65d0f379a6e562d3c86e1089cfb7d9e6752c
Release-Notes: skip
- Merge branch 'stable-3.5' into stable-3.8
* stable-3.5:
TasksStorage: Remove synchronized from methods
Place the replaying flag clearing in a finally
Demote delete errors when distributor is enabled
distributor: Reduce log level for no-op consolidations
Change-Id: Iaa6d4a59d5cb26879500f2d36852eaa30efc5d7b
Release-Notes: skip
- PushOne: Remove unused addRef() method
This is only used by tests and should have been removed when
addRefBatch() superseded it.
Change-Id: If9de1df29fd56a595fa4d4b2b4f5716264a67e11
Release-Notes: skip
- TasksStorage: Remove synchronized from methods
These aren't expected to be necessary for correctness.
Change-Id: Id23d3b385e289ba453638b76d6523016a5aabf2a
- Place the replaying flag clearing in a finally
This ensure that 'replaying' will be set to false even if an exception
occurs in pruneNoLongerPending(), otherwise if would be possible for the
distributor to get "stuck" and never be able to run again.
Release-Notes: Avoid opportunity to inadvertently block the distributor
Change-Id: I4628a574ad54ca6abd591138edc48e12a39447e7
- Demote delete errors when distributor is enabled
Since delete errors for Tasks is expected after recovery (when another
nodes starts up) when running with a multi-primary setup, demote them to
"atFine()" level when the distributor is enabled. This avoids errors in
the logs during normal multi-primary operation.
Release-Notes: Reduced log level for Task deletion errors in MP setups
Change-Id: Iccca2e1bd2b91b91e12a14c4e473c8a6df6fd4b7
- distributor: Reduce log level for no-op consolidations
It's expected that the replication distributor will generate many of
these log messages on a busy instance because it will repeatedly
re-schedule the same ref updates. Since those messages likely aren't
operationally interesting, reduce the log level to atFine when
scheduling is happening based on stored replication tasks and the ref is
already scheduled in the push task.
Change-Id: I07d071af848481fa84e1ba26fb8287c5e61d1d67
Release-Notes: Reduced log level for no-op distributor push consolidations
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.