On 2026-08-19 db2207 was the MariaDB master for the s2 cluster [1] in our codfw datacenter [2]. At ~02:13 UTC the db2207 host rebooted itself, causing the entire s2 cluster in codfw to enter a read-only state requiring immediate attention from a DBA.
This caused readers to experience replication lag [3] for ~31 minutes for the Wikis being served by s2 in codfw at the time of the incident, affecting the following Wikis: bgwiki, bgwiktionary, cswiki, enwikiquote, enwiktionary, eowiki, fiwiki, idwiki, itwiki, nlwiki, nowiki, plwiki, ptwiki, svwiki, thwiki, trwiki, zhwiki [4].
At ~02:37 UTC the DBA team started an emergency switchover to promote db2204 as the new s2 master in codfw [5], the switchover concluded at ~02:44 UTC [6] effectively resolving the incident.
We're still investigating the root cause that made the hsot to reboot itself but since this host has crashed in the past it was removed from being a candidate master [7][8] and monitoring notifications were disabled [9].
We opened a ticket with the hardware vendor (Dell) to aid in understanding the cause for the crash and will update once we figure it out.
[1] https://wikitech.wikimedia.org/wiki/MariaDB#Core_(MediaWiki_databases)
[2] https://wikitech.wikimedia.org/wiki/Codfw_data_center
[3] https://wikitech.wikimedia.org/wiki/MySQL#Replication_lag
[4] https://noc.wikimedia.org/conf/highlight.php?file=dblists/s2.dblist
[5] https://phabricator.wikimedia.org/T435270
[6] https://gerrit.wikimedia.org/r/c/operations/puppet/+/1326967
[7] https://phabricator.wikimedia.org/T435279
[8] https://gerrit.wikimedia.org/r/c/operations/puppet/+/1326979
[9] https://gerrit.wikimedia.org/r/c/operations/puppet/+/1327438

