Last modified: 2014-09-22 18:11:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73041, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71041 - Replica MySQL: Views completely missing from some wiki's
Replica MySQL: Views completely missing from some wiki's
Status: ASSIGNED
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Sean Pringle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-19 15:30 UTC by metatron
Modified: 2014-09-22 18:11 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description metatron 2014-09-19 15:30:22 UTC
Since today? Views are missing from some _p wikis:

Samples:
ERROR 1146 (42S02): Table 'ruwiki_p.revision_userindex' doesn't exist
ERROR 1146 (42S02): Table 'frwiki_p.revision_userindex' doesn't exist
ERROR 1146 (42S02): Table 'eswiki_p.revision_userindex' doesn't exist

MariaDB [eswiki_p]> show tables;
Empty set (0.01 sec)

Anything going on? announced?
Comment 1 Marc A. Pelletier 2014-09-19 15:42:12 UTC
There was some cleanup about where different connections were going that seem to have revealed an issue where some databases are only replicated to some replicas.  I'm going to fiddle things around to hide the problem until the underlying issue has been found.
Comment 2 Marc A. Pelletier 2014-09-19 15:44:49 UTC
(Specifically labsdb1003 has part, but not all, of the databases replicated)
Comment 3 metatron 2014-09-19 17:30:50 UTC
See also completely missing databases:
https://bugzilla.wikimedia.org/show_bug.cgi?id=71043
Comment 4 Sean Pringle 2014-09-20 01:29:48 UTC
labsdb1003 hasn't upgraded to a single MariaDB 10 instance yet.
Comment 5 metatron 2014-09-20 14:07:06 UTC
(In reply to Sean Pringle from comment #4)
> labsdb1003 hasn't upgraded to a single MariaDB 10 instance yet.

What does that mean? Upgrade hasn't started yet? Or is currently in progress? 
If none of the former, what caused the current outages? When will it be fixed and - first and foremost - when will the lost databases be back?

Though a major blocker, I couldn't find anything about such things in labs-l or elsewhere.
Comment 6 Sean Pringle 2014-09-21 02:50:00 UTC
It means only that labsd1003 is in the same state it has been for the last year[1]: three MariaDB 5.5 instances replicating S3, S6, and S7 on ports 3306, 3307, and 3308. Unlike labsdb1001 and labsdb1002, which have been upgraded to a single MariaDB 10 instance on port 3306, labsdb1003 does not yet have all wikis.

@Marc, what was the "cleanup" you mentioned? DNAT or [fr|es|ru]wiki.labsdb changes?

[1] https://lists.wikimedia.org/pipermail/labs-l/2014-August/002797.html
Comment 7 metatron 2014-09-21 05:11:31 UTC
@Sean: Thanks for info & clarification.
Comment 8 Jesse (Pathoschild) 2014-09-21 19:57:41 UTC
All s6 and s7 wikis I checked are affected.
Comment 9 Marc A. Pelletier 2014-09-22 17:35:11 UTC
This should be fixed right now; with Sean having merged all three of the labsdb1003 slices and the hosts file adjusted accordingly.
Comment 10 metatron 2014-09-22 18:11:31 UTC
Some user databases still missing. See #3.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links