{"action":"opened","issue":{"url":"https://api.github.com/repos/autopilotpattern/mysql/issues/71","repository_url":"https://api.github.com/repos/autopilotpattern/mysql","labels_url":"https://api.github.com/repos/autopilotpattern/mysql/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/autopilotpattern/mysql/issues/71/comments","events_url":"https://api.github.com/repos/autopilotpattern/mysql/issues/71/events","html_url":"https://github.com/autopilotpattern/mysql/issues/71","id":193889776,"number":71,"title":"Replication failure","user":{"login":"mbbender","id":1754012,"avatar_url":"https://avatars.githubusercontent.com/u/1754012?v=3","gravatar_id":"","url":"https://api.github.com/users/mbbender","html_url":"https://github.com/mbbender","followers_url":"https://api.github.com/users/mbbender/followers","following_url":"https://api.github.com/users/mbbender/following{/other_user}","gists_url":"https://api.github.com/users/mbbender/gists{/gist_id}","starred_url":"https://api.github.com/users/mbbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbbender/subscriptions","organizations_url":"https://api.github.com/users/mbbender/orgs","repos_url":"https://api.github.com/users/mbbender/repos","events_url":"https://api.github.com/users/mbbender/events{/privacy}","received_events_url":"https://api.github.com/users/mbbender/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T21:27:29Z","updated_at":"2016-12-06T21:27:29Z","closed_at":null,"body":"If I create a master database by itself\r\n\r\n`    \r\ndocker-compose up -d\r\n`\r\n\r\nThen connect to this database and load in some initial content. I have two databases. One is about .5Gb the other about 1Gb.\r\n\r\nThen when I try to create a slave \r\n\r\n`\r\ndocker-compose scale mysql=2\r\n`\r\n\r\nThe replication fails with a line about Can't create database because it exists. I'm guessing this is maybe a race condition between the initial backup and replication starting. I've reproduced this scenario twice in a row."}}
{"actor":{"display_login":"mbbender"}}