I would like to unify S4 commonswiki.revision so we can get this shard out of the way now that we had to work on it (because of T147113)
So given that we need two slaves serving recentchanges services, those need to have partitioned tables and they need PK (rev_id, rev_user).
Those slaves, per DC are:
codfw: db2037 db2044 eqiad: db1056 db1019 - decommissioned so I would suggest maybe db1059 to take over this service. Jaime and myself have spoken about using a spare server to replace this one in the rc service until we have a multi-shard rc service ready.
For the rest of the slaves, I would like to change the PK to (rev_id) as we just did in T147113
This is the current PK for the following slaves that would need to be changed:
codfw: db2065.codfw.wmnet PRIMARY KEY (`rev_page`,`rev_id`), UNIQUE KEY `rev_id` (`rev_id`), db2058.codfw.wmnet PRIMARY KEY (`rev_page`,`rev_id`), UNIQUE KEY `rev_id` (`rev_id`), db2051.codfw.wmnet PRIMARY KEY (`rev_page`,`rev_id`), UNIQUE KEY `rev_id` (`rev_id`), eqiad: db1064.eqiad.wmnet PRIMARY KEY (`rev_page`,`rev_id`), UNIQUE KEY `rev_id` (`rev_id`), db1068.eqiad.wmnet PRIMARY KEY (`rev_page`,`rev_id`), UNIQUE KEY `rev_id` (`rev_id`),
And the master still needs to be changed:
db1040.eqiad.wmnet UNIQUE KEY `rev_id` (`rev_id`),