Last modified: 2014-07-28 17:29:48 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 T70356, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68356 - Replicate centralauth.renameuser_status table to labs
Replicate centralauth.renameuser_status table to labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: labs-replication 68357
  Show dependency treegraph
 
Reported: 2014-07-22 00:17 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-28 17:29 UTC (History)
6 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-07-22 00:17:04 UTC
Doesn't have any private information since all renames are publicly logged. Wanted so I can add some basic monitoring of global renames.
Comment 1 Marc A. Pelletier 2014-07-25 01:32:34 UTC
That table is available (but empty atm).
Comment 2 Kunal Mehta (Legoktm) 2014-07-25 01:36:12 UTC
Yes, it maintains status of CentralAuth renameuser jobs and if there are no jobs running (most of the time) the table is empty.
Comment 3 Kunal Mehta (Legoktm) 2014-07-26 06:23:32 UTC
[23:21:20]  <legoktm>	 Coren: MariaDB [centralauth_p]> select * from renameuser_status;
[23:21:20]  <legoktm>	 ERROR 1146 (42S02): Table 'centralauth_p.renameuser_status' doesn't exist
[23:21:40]  <Coren>	 o_O?
[23:21:46]  <Coren>	 Oh, the table exists not the view.
[23:22:01]  <Coren>	 That'll occur automagically next run of maintain-replicas, sometime tomorrow.
Comment 4 Kunal Mehta (Legoktm) 2014-07-28 08:45:47 UTC
It's been 24+ hours and the table still isn't available...
Comment 5 Marc A. Pelletier 2014-07-28 14:26:55 UTC
..?

MariaDB [centralauth_p]> select * from renameuser_status;
Empty set (0.01 sec)

Works for me!

-- Marc
Comment 6 Kunal Mehta (Legoktm) 2014-07-28 17:29:48 UTC
[10:25:46]  <legoktm>	 Coren: MariaDB [centralauth_p]> select * from renameuser_status;
[10:25:46]  <legoktm>	 ERROR 1146 (42S02): Table 'centralauth_p.renameuser_status' doesn't exist
[10:25:55]  <legoktm>	 Coren: am I doing something wrong? >.>
[10:26:07]  <legoktm>	 Coren: this is using the "legobot" tool
[10:26:21]  <Coren>	 legoktm: I... wut?
[10:26:28]  <Coren>	 legoktm: I don't even.
[10:26:39] Coren	 tries to figure out what goes.
[10:27:24]  <Coren>	 Oh!  OH!  Yeah, nothing you're doing wrong, just an odd side effect of the migration-in-progress.  New changes to schemas, etc are applying only to the new combined instances!
[10:28:04]  <Coren>	 legoktm: Use the centralauth_p on c2.labsdb.  The difference will be gone in a couple days when we migrated the rest of the databases.
[10:28:38]  <legoktm>	 sweet :D
[10:28:39]  <legoktm>	 works!

tools.legobot@tools-login:~$ mysql -hc2.labsdb centralauth_p
MariaDB [centralauth_p]> select * from renameuser_status;
Empty set (0.01 sec)

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


Navigation
Links