Myloader doesn't create empty databases
Bug #1558164 reported by
Charles Thompson
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 |
To post a comment you must log in.
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