Page MenuHomePhabricator

Prepare and check storage layer for ngwikimedia
Closed, ResolvedPublic

Description

New wiki requested at T240771. The wiki should be Fishbowl. Readable by all, requires account to edit

Event Timeline

Marostegui moved this task from Triage to Blocked external/Not db team on the DBA board.
Marostegui subscribed.

Let us know when the wiki is created so we can sanitize its data

Mentioned in SAL (#wikimedia-operations) [2020-02-12T06:46:11Z] <marostegui> Redact ngwikimedia on db1124:3313 and db2094:3313 T240772

I have sanitized both databases, and it looks fine now.
Is it possible to create another user to make sure the triggers are applied correctly?

@Ammarpad Please ping here when you created users for the rest of your user group

Done. I created additional users.

I checked users table, looking good, but will let manuel close this.

This is ready for WMCS to create the views.
I have created ngwikimedia_p and granted labsdbuser grants for it.
cloud-services-team please go ahead and create the views on labsdb1009, labsdb1010, labsdb1011 and labsdb1012

bd808 edited projects, added Data-Services; removed Cloud-Services.
bd808 moved this task from Inbox to Blocked on the cloud-services-team (Kanban) board.
bd808 moved this task from Blocked to Clinic Duty on the cloud-services-team (Kanban) board.

Mentioned in SAL (#wikimedia-cloud) [2020-03-04T21:37:27Z] <bd808> Running wmcs-wikireplica-dns to add service names for ngwikimedia.*.db.svc.eqiad.wmflabs (T240772)

bd808 claimed this task.
$ sql ngwikimedia_p -- show tables
More than one argument given; joining SQL query words with spaces.
+--------------------------+
| Tables_in_ngwikimedia_p  |
+--------------------------+
| abuse_filter             |
| abuse_filter_action      |
| abuse_filter_history     |
| abuse_filter_log         |
| actor                    |
| actor_archive            |
| actor_filearchive        |
| actor_image              |
| actor_ipblocks           |
| actor_logging            |
| actor_oldimage           |
| actor_recentchanges      |
| actor_revision           |
| actor_user               |
| archive                  |
| archive_compat           |
| archive_userindex        |
| babel                    |
| category                 |
| categorylinks            |
| change_tag               |
| change_tag_def           |
| comment                  |
| comment_filearchive      |
| comment_image            |
| comment_ipblocks         |
| comment_logging          |
| comment_oldimage         |
| comment_protected_titles |
| comment_recentchanges    |
| comment_revision         |
| content                  |
| content_models           |
| externallinks            |
| filearchive              |
| filearchive_compat       |
| filearchive_userindex    |
| geo_tags                 |
| global_block_whitelist   |
| image                    |
| image_compat             |
| imagelinks               |
| interwiki                |
| ip_changes               |
| ipblocks                 |
| ipblocks_compat          |
| ipblocks_ipindex         |
| ipblocks_restrictions    |
| iwlinks                  |
| l10n_cache               |
| langlinks                |
| linter                   |
| logging                  |
| logging_compat           |
| logging_logindex         |
| logging_userindex        |
| module_deps              |
| oldimage                 |
| oldimage_compat          |
| oldimage_userindex       |
| page                     |
| page_compat              |
| page_props               |
| page_restrictions        |
| pagelinks                |
| protected_titles         |
| protected_titles_compat  |
| recentchanges            |
| recentchanges_compat     |
| recentchanges_userindex  |
| redirect                 |
| revision                 |
| revision_actor_temp      |
| revision_compat          |
| revision_userindex       |
| site_identifiers         |
| site_stats               |
| sites                    |
| slot_roles               |
| slots                    |
| templatelinks            |
| transcode                |
| updatelog                |
| user                     |
| user_former_groups       |
| user_groups              |
| user_properties          |
| wbc_entity_usage         |
+--------------------------+
$ sql --cluster=web ngwikimedia_p -- show tables
More than one argument given; joining SQL query words with spaces.
+--------------------------+
| Tables_in_ngwikimedia_p  |
+--------------------------+
| abuse_filter             |
| abuse_filter_action      |
| abuse_filter_history     |
| abuse_filter_log         |
| actor                    |
| actor_archive            |
| actor_filearchive        |
| actor_image              |
| actor_ipblocks           |
| actor_logging            |
| actor_oldimage           |
| actor_recentchanges      |
| actor_revision           |
| actor_user               |
| archive                  |
| archive_compat           |
| archive_userindex        |
| babel                    |
| category                 |
| categorylinks            |
| change_tag               |
| change_tag_def           |
| comment                  |
| comment_filearchive      |
| comment_image            |
| comment_ipblocks         |
| comment_logging          |
| comment_oldimage         |
| comment_protected_titles |
| comment_recentchanges    |
| comment_revision         |
| content                  |
| content_models           |
| externallinks            |
| filearchive              |
| filearchive_compat       |
| filearchive_userindex    |
| geo_tags                 |
| global_block_whitelist   |
| image                    |
| image_compat             |
| imagelinks               |
| interwiki                |
| ip_changes               |
| ipblocks                 |
| ipblocks_compat          |
| ipblocks_ipindex         |
| ipblocks_restrictions    |
| iwlinks                  |
| l10n_cache               |
| langlinks                |
| linter                   |
| logging                  |
| logging_compat           |
| logging_logindex         |
| logging_userindex        |
| module_deps              |
| oldimage                 |
| oldimage_compat          |
| oldimage_userindex       |
| page                     |
| page_compat              |
| page_props               |
| page_restrictions        |
| pagelinks                |
| protected_titles         |
| protected_titles_compat  |
| recentchanges            |
| recentchanges_compat     |
| recentchanges_userindex  |
| redirect                 |
| revision                 |
| revision_actor_temp      |
| revision_compat          |
| revision_userindex       |
| site_identifiers         |
| site_stats               |
| sites                    |
| slot_roles               |
| slots                    |
| templatelinks            |
| transcode                |
| updatelog                |
| user                     |
| user_former_groups       |
| user_groups              |
| user_properties          |
| wbc_entity_usage         |
+--------------------------+