Page MenuHomePhabricator

Reimport wikidatawiki.{pagelinks,page} on labsdb1010
Closed, ResolvedPublic

Description

Due to a recent crash on labsdb1010 (T233986#5527906) replication broke this week on wikidatawiki.pagelinks: T233986#5659184
I fixed that issue manually and ran a check against labsdb1011 and it has revealed more differences on pagelinks table.

This table should be reimported from labsdb1011 (or labsdb1012 as that one is only in use during the first days of the month).

I am also checking other main tables just in case there are more differences due to that crash.

Update: page table also has differences

Re-import progress:

  • page
  • pagelinks

Event Timeline

Marostegui triaged this task as Medium priority.
Marostegui moved this task from Triage to Pending comment on the DBA board.

I will try to do this next week using mydumper (the table is 91GB) - I will have labsdb1010 depooled during the re-import time.
We will probably have to drop+create the views I guess. We'll see.

Marostegui renamed this task from Reimport wikidatawiki.pagelinks on labsdb1010 to Reimport wikidatawiki.{pagelinks,page} on labsdb1010.Nov 15 2019, 1:22 PM
Marostegui updated the task description. (Show Details)

Mentioned in SAL (#wikimedia-operations) [2019-11-27T09:01:16Z] <marostegui> Stop replication on 1124:3318 to reimport wikidatawiki.page table on labsdb1010 - T238399

Change 554420 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/puppet@production] dbproxy1011: Depool labsdb1010

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

Change 554420 merged by Marostegui:
[operations/puppet@production] dbproxy1011: Depool labsdb1010

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

Mentioned in SAL (#wikimedia-operations) [2019-12-04T07:09:30Z] <marostegui> Depool labsdb1010 to reimport wikidatawiki.page - T238399

wikidatawiki.page has been reimported from labsdb1012.
Views for that table have been recreated as well.

Mentioned in SAL (#wikimedia-operations) [2019-12-04T09:15:33Z] <marostegui> Reload labsdb1010 after reimporting wikidatawiki.page - T238399

Change 557788 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/puppet@production] dbproxy: Depool labsdb1010

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

Change 557788 merged by Marostegui:
[operations/puppet@production] dbproxy: Depool labsdb1010

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

Mentioned in SAL (#wikimedia-operations) [2019-12-16T07:11:37Z] <marostegui> Stop replication in the same position in labsdb1010 and labsdb1012 - T238399

Mentioned in SAL (#wikimedia-operations) [2019-12-16T07:11:37Z] <marostegui> Stop replication in the same position in labsdb1010 and labsdb1012 - T238399

I have postponed this until an alter table is finished, so mydumper can get the global lock needed - so the message above can be dismissed, replication is restarted and I will log again once I attempt this reimport

Mentioned in SAL (#wikimedia-operations) [2019-12-16T09:50:47Z] <marostegui> Stop replication in the same position in labsdb1010 and labsdb1012 - T238399

wikidatawiki.pagelinks has been imported into labsdb1010 from labsdb1012 - the host is now catching up.