Page MenuHomePhabricator

Upgrade Gerrit to 3.3
Closed, ResolvedPublic

Description

Gerrit has published their release plan for 3.3 with an expected release date on 2020-11-09: https://www.gerritcodereview.com/2020-09-07-gerrit-3.3-release-plan.html

See Gerrit (Gerrit 3.3) milestone for all related activities.

DateActivity
Oct 5Set language level to Java 11 on master
Oct 6Create stable-3.3 branch, Release ‘3.3.0-rc0’
Oct 12Release 3.3.0-rc1
Oct 19Release 3.3.0-rc2
Oct 26Release 3.3.0-rc3
Nov 2Release 3.3.0-rc4
Nov 2-6“Release week” (see below)
Nov 9Final release of 3.3.0
Dec 1st3.3.0 has been released https://www.gerritcodereview.com/3.3.html

At a quick glance:

Update:

We are running Java 11

The sole breaking change is log timestamp receiving milliseconds which does not seem to be a problem for us (details: T287379 ).

Event Timeline

hashar triaged this task as Medium priority.Sep 8 2020, 7:25 AM

Mentioned in SAL (#wikimedia-releng) [2020-11-04T19:59:54Z] <hashar> operations/software/gerrit : pushed upstream git tag, synced the master branch # T262241

The rough order:

hashar updated the task description. (Show Details)

Next is to upgrade Gerrit to 3.3 :-] I would like to do it next week if we are good enough.

Change 705929 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit/plugins/gitiles@wmf/stable-3.3] Merge 'wmf/stable-3.2' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/705929

Change 705934 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@wmf/stable-3.3] Merge branch 'wmf/stable-3.2' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/705934

Change 708502 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/puppet@production] gerrit: explicitly set jgit receive.autogc=false

https://gerrit.wikimedia.org/r/708502

Change 708502 merged by Dzahn:

[operations/puppet@production] gerrit: explicitly set jgit receive.autogc=false

https://gerrit.wikimedia.org/r/708502

The upgrade is scheduled for Tuesday August 3rd at 16:00 UTC.

Things we have checked based on the release notes at https://www.gerritcodereview.com/3.3.html

Java 11 by default for GerritWe have switched to java 11 some months ago T268225
New logs timestamp formatLogstash should works fine with the new format T287379
Attention setMentioned in the maintenance announce (upstream doc)
Patchset level comments3.3 is back compatible. 3.4 unknown: T287385

I have to amend the upgrade doc regarding gerrit init writing to gerrit.config.

Change 705929 merged by Hashar:

[operations/software/gerrit/plugins/gitiles@wmf/stable-3.3] Merge 'wmf/stable-3.2' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/705929

Change 709501 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.3] Gerrit 3.3.5 + plugins

https://gerrit.wikimedia.org/r/709501

Change 705934 merged by jenkins-bot:

[operations/software/gerrit@wmf/stable-3.3] Merge branch 'wmf/stable-3.2' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/705934

Change 709501 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.3] Gerrit 3.3.5 + plugins

https://gerrit.wikimedia.org/r/709501

We are now running Gerrit 3.3 . The deployment got conducted by @dancy with @brennen and @hashar assisting.