openark / orchestrator

MySQL replication topology management and HA
Apache License 2.0
5.64k stars 933 forks source link

GUI does not allow graceful-master-takeover when in PGTID #759

Closed utdrmac closed 5 years ago

utdrmac commented 5 years ago

Servers are in PGTID mode, as indicated by the icon.

orchestrator-gui-enterprise

When placing GUI into 'Pseudo-Gtid Mode', attempt to drag mysql2 over to mysql1 says 'cannot drop here'.

screen shot 2018-12-13 at 7 21 22 pm 2

Changing to Classic Mode, GTID Mode, both say same cannot drop here. But placing GUI into 'Smart Mode', PROMOTE AS MASTER: screen shot 2018-12-13 at 7 23 06 pm 2

Using API graceful-master-takeover also works.

laurent-indermuehle commented 5 years ago

I'm also interested about why it works like that. I've GTID activated an all MySQL Instances but I can do a graceful-master-takeover only in smart mode. All others modes displays the "Cannot drop here" sign.

shlomi-noach commented 5 years ago

Thank you. I think this restriction can be fixed. I don't recall there was an intent to have this restriction and don't see why we wouldn't lift it.

shlomi-noach commented 5 years ago

addressed by https://github.com/github/orchestrator/pull/895