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

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.

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)