Page MenuHomePhabricator

Migrate a s4 DB host to mariadb 10.6
Closed, ResolvedPublic

Description

Let's migrate db1143 (commonswiki) to mariadb 10.6

Event Timeline

Marostegui triaged this task as Medium priority.Jun 8 2022, 5:45 AM
Marostegui moved this task from Triage to In progress on the DBA board.

Change 803742 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] db1143: Disable notifications

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

Mentioned in SAL (#wikimedia-operations) [2022-06-08T05:47:19Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Depool db1143 for migration to 10.6 T310114', diff saved to https://phabricator.wikimedia.org/P29493 and previous config saved to /var/cache/conftool/dbconfig/20220608-054718-root.json

Weight: 400 (pooled only on Main)

Change 803742 merged by Marostegui:

[operations/puppet@production] db1143: Disable notifications

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

Change 803743 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] db1143: Install mariadb 10.6

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

Change 803743 merged by Marostegui:

[operations/puppet@production] db1143: Install mariadb 10.6

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

db1143 got 10.6, I am doing some traffic captures before starting to pool it in order to catch any major query change it might produce.

Mentioned in SAL (#wikimedia-operations) [2022-06-08T07:31:33Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Pool db1143 on s4 with small weight after installing 10.6 T310114', diff saved to https://phabricator.wikimedia.org/P29504 and previous config saved to /var/cache/conftool/dbconfig/20220608-073132-root.json

Change 803862 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] db1143: Enable notifications

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

Change 803862 merged by Marostegui:

[operations/puppet@production] db1143: Enable notifications

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

Mentioned in SAL (#wikimedia-operations) [2022-06-08T09:13:31Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Pool db1143 on s4 with small weight after installing 10.6 T310114', diff saved to https://phabricator.wikimedia.org/P29514 and previous config saved to /var/cache/conftool/dbconfig/20220608-091331-root.json

Mentioned in SAL (#wikimedia-operations) [2022-06-09T09:12:24Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Pool db1143 on s4 with small weight after installing 10.6 T310114', diff saved to https://phabricator.wikimedia.org/P29584 and previous config saved to /var/cache/conftool/dbconfig/20220609-091224-root.json

So far all the analyzed queries are already reported as slow queries and are happening on 10.4. I have increased its LB weight to the 10% of its original weight in order to capture more traffic.

Closing this as db1143 has been working fine for more than a week.