Page MenuHomePhabricator

Move ExternalStore table to main per-wiki database
Open, Needs TriagePublic

Description

After a fresh vagrant up, the external store's blobs table does not exist.

Event Timeline

SBisson created this task.Jan 17 2018, 4:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 17 2018, 4:57 PM

Well, the table does exist in the db named external but the code is looking for it in the current db. Some config must be wrong.

Mattflaschen-WMF renamed this task from ExternalStore blobs table does not exist to Move ExternalStore table to main database.Jan 17 2018, 7:59 PM

Apparently caused by rMW14ee3f210782: rdbms: specify DB name and table prefix even for the local domain.

We'll fix it in two phases:

  1. Move blobs table to main per-wiki database so it at least works (this task).
  2. Further isolation (see T161190: Configure External Store on Vagrant with blobs tables in databases named after wiki DB and proper isolation) to prevent potential bugs.
Mattflaschen-WMF renamed this task from Move ExternalStore table to main database to Move ExternalStore table to main per-wiki database.Jan 17 2018, 8:01 PM
Mattflaschen-WMF claimed this task.
Aklapper removed Mattflaschen-WMF as the assignee of this task.Apr 18 2018, 1:47 PM

Removing @Mattflaschen-WMF as task assignee to avoid cookie-licking.
(Matt, if you still like/plan to work on this, feel very welcome to re-claim via your personal Phab account - thanks!)

Well, apparently this did surfaced on development (this task) but didn't got sufficient attention, maybe because thinking it only affected vagrant. But this affects real setups (see T200471)