Myloader doesn't create empty databases

Bug #1558164 reported by Charles Thompson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Data Dumper
Confirmed
Low
Max Bubenick

Bug Description

Hello,

Myloader isn't creating empty databases. I see the files there that would create the database but it seems like they're not being used.

Thanks!

Changed in mydumper:
status: New → Confirmed
assignee: nobody → Max Bubenick (max-bubenick)
milestone: none → 0.9.3
importance: Undecided → Low
Revision history for this message
Jaime Crespo (jynus) wrote :

How this can lead to an outage:

* Have a master with several databases, including one empty (e.g. a new application that is going to be deployed)
* Create a backup of the master
* Load into a replica, expecting to have an accurate copy of the master
* Setup replication -everything works as expected
* The application starts writing to the database
* Replication breaks because a missing database on the queries, including those that are not empty

This lead to a Wikimedia databases incident at https://phabricator.wikimedia.org/T192875#4241019

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.