gmo-media / mikasafabric

mikasafabric for MySQL is fork product of MySQL Fabric.
https://example.com/
GNU General Public License v2.0
3 stars 3 forks source link

Should deny to run `group add` when master isn't invoking yet #5

Closed yoku0825 closed 6 years ago

yoku0825 commented 7 years ago

mikasafabric creates replication user when run a group add. When adding the very first server in the group, group doesn't have master and mikasafabric creates replication user into added server.

But when adding second server into the group and group promote didn't run yet, mikasafabric creates replication user into second server and doesn't create into first server.

yoku0825 commented 6 years ago

This had already been implemented by https://github.com/gmo-media/mikasafabric/commit/eea32c36577bc5b62ed23b230c7cb360c3cca880 , 0.5.0 and later.