{"action":"created","issue":{"url":"https://api.github.com/repos/github/orchestrator/issues/573","repository_url":"https://api.github.com/repos/github/orchestrator","labels_url":"https://api.github.com/repos/github/orchestrator/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/github/orchestrator/issues/573/comments","events_url":"https://api.github.com/repos/github/orchestrator/issues/573/events","html_url":"https://github.com/github/orchestrator/issues/573","id":349070496,"node_id":"MDU6SXNzdWUzNDkwNzA0OTY=","number":573,"title":"take-master makes co-master replicate from itself","user":{"login":"Pomyk","id":156784,"node_id":"MDQ6VXNlcjE1Njc4NA==","avatar_url":"https://avatars2.githubusercontent.com/u/156784?v=4","gravatar_id":"","url":"https://api.github.com/users/Pomyk","html_url":"https://github.com/Pomyk","followers_url":"https://api.github.com/users/Pomyk/followers","following_url":"https://api.github.com/users/Pomyk/following{/other_user}","gists_url":"https://api.github.com/users/Pomyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Pomyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pomyk/subscriptions","organizations_url":"https://api.github.com/users/Pomyk/orgs","repos_url":"https://api.github.com/users/Pomyk/repos","events_url":"https://api.github.com/users/Pomyk/events{/privacy}","received_events_url":"https://api.github.com/users/Pomyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-09T10:32:21Z","updated_at":"2018-08-13T11:37:01Z","closed_at":null,"author_association":"NONE","body":"I have 2 co-masters (and 1 slave). I dragged one of the masters onto the other in the web ui. take-master dialog appeared and I clicked ok. Now that master replicates from itself and the web ui shows all 3 machines lumped in the same spot.\r\n\r\nversions: mariadb 10.3.8 with GTID, orchestrator compiled from current master (fadc7bc)\r\n\r\nlogs:\r\n```\r\n[martini] Started GET /api/take-master/devel-proxysql-01.gr/21318 for 10.0.0.248:56218\r\n2018-08-09 11:56:02 DEBUG TakeMaster: will attempt making devel-proxysql-01.gr:21318 take its master devel-proxysql-01.gr:21317, now resolved as devel-proxysql-01.gr:21317\r\n2018-08-09 11:56:02 INFO Stopped slave on devel-proxysql-01.gr:21317, Self:mysql-bin.000021:358, Exec:mysql-bin.000016:342\r\n2018-08-09 11:56:02 INFO Stopped slave on devel-proxysql-01.gr:21318, Self:mysql-bin.000016:342, Exec:mysql-bin.000021:358\r\n2018-08-09 11:56:02 INFO Will start slave on devel-proxysql-01.gr:21318 until coordinates: mysql-bin.000021:358\r\n2018-08-09 11:56:02 INFO Stopped slave on devel-proxysql-01.gr:21318, Self:mysql-bin.000016:342, Exec:mysql-bin.000021:358\r\n2018-08-09 11:56:02 DEBUG ChangeMasterTo: will attempt changing master on devel-proxysql-01.gr:21318 to devel-proxysql-01.gr:21318, mysql-bin.000016:342\r\n2018-08-09 11:56:02 INFO ChangeMasterTo: Changed master on devel-proxysql-01.gr:21318 to: devel-proxysql-01.gr:21318, mysql-bin.000016:342. GTID: true\r\n2018-08-09 11:56:02 DEBUG ChangeMasterTo: will attempt changing master on devel-proxysql-01.gr:21317 to devel-proxysql-01.gr:21318, mysql-bin.000016:342\r\n2018-08-09 11:56:02 INFO ChangeMasterTo: Changed master on devel-proxysql-01.gr:21317 to: devel-proxysql-01.gr:21318, mysql-bin.000016:342. GTID: true\r\n2018-08-09 11:56:02 INFO Started slave on devel-proxysql-01.gr:21318\r\n2018-08-09 11:56:03 INFO Started slave on devel-proxysql-01.gr:21317\r\n2018-08-09 11:56:03 INFO auditType:take-master instance:devel-proxysql-01.gr:21318 cluster:devel-proxysql-01.gr:21318 message:took master: devel-proxysql-01.gr:21317"},"comment":{"url":"https://api.github.com/repos/github/orchestrator/issues/comments/412489670","html_url":"https://github.com/github/orchestrator/issues/573#issuecomment-412489670","issue_url":"https://api.github.com/repos/github/orchestrator/issues/573","id":412489670,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQ4OTY3MA==","user":{"login":"shlomi-noach","id":2607934,"node_id":"MDQ6VXNlcjI2MDc5MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2607934?v=4","gravatar_id":"","url":"https://api.github.com/users/shlomi-noach","html_url":"https://github.com/shlomi-noach","followers_url":"https://api.github.com/users/shlomi-noach/followers","following_url":"https://api.github.com/users/shlomi-noach/following{/other_user}","gists_url":"https://api.github.com/users/shlomi-noach/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomi-noach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomi-noach/subscriptions","organizations_url":"https://api.github.com/users/shlomi-noach/orgs","repos_url":"https://api.github.com/users/shlomi-noach/repos","events_url":"https://api.github.com/users/shlomi-noach/events{/privacy}","received_events_url":"https://api.github.com/users/shlomi-noach/received_events","type":"User","site_admin":true},"created_at":"2018-08-13T11:37:01Z","updated_at":"2018-08-13T11:37:01Z","author_association":"COLLABORATOR","body":"I am able to reproduce this. Interestingly, this only happens in one direction (to be more specific, the web interface only allows one of the masters to take the other)."}}
{"actor":{"display_login":"shlomi-noach"}}