Replicate ALL central notice database tables replicated on lab
https://github.com/wikimedia/mediawiki-extensions-CentralNotice/blob/master/CentralNotice.sql
Replicate ALL central notice database tables replicated on lab
https://github.com/wikimedia/mediawiki-extensions-CentralNotice/blob/master/CentralNotice.sql
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add centralnotice tables to maintain-views.yaml | operations/puppet | production | +15 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | jcrespo | T150767 Wikireplica service for tools and labs - issues and missing available views (tracking) | |||
Resolved | • madhuvishy | T135405 Replicate CentralNotice tables to Labs |
The tables in the desc looks like indeed the most useful ones, but I would like all the extension's tables to be replicated.
Change 374875 had a related patch set uploaded (by Reedy; owner: Reedy):
[operations/puppet@production] Add centralnotice tables to maintain-views.yaml
Hi,
Just to make sure I am getting this right, centralnotice database means metawiki database, right?
I have checked the tables added to Reedy's patch, and they do already exist on labsdb servers.
So as Krenair points out at: T135405#2585246 this is just missing the views
Yeah. Well, they are on testwiki too (it's setup as a "central wiki" for itself), so might be worth exposing those at the same time, for usefulness of testing purposes (more people can create banners/notices on testwiki than metawiki)
So my patch above being merged, and the script being run on the labsdb servers should be enough to make the magic happen?
Thanks! :-)
So my patch above being merged, and the script being run on the labsdb servers should be enough to make the magic happen?
Yes, that should be it. I will leave cloud-services-team to review the patch and merge it, so they can run the maintainviews script.
I have checked and the labsdbuser (on the new labs servers) already have grants for metawiki_p views, so there should be no issues from the DBA side.
Just to confirm, @AndyRussG we can just replicate all the tables? I had a quick scan of them.. And can't see any obviously private data. See the patch listing the tables to be exposed 1:1
Yes, everything in the CentralNotice schema can be visible to the public. Most of it is already visible via https://meta.wikimedia.org/wiki/Special:CentralNotice and its subpages, even for logged-out users.
Change 374875 merged by Madhuvishy:
[operations/puppet@production] Add centralnotice tables to maintain-views.yaml
@Marostegui @Reedy Merged and ran maintain-views in all the labs replicas (1001/3/9/10/11)
I'm closing this as resolved since running the maintain-views script for the new views went fine. Please reopen if there are any issues. Thanks!