Open shiwangini93 opened 3 years ago
We have bi-directional (master -master) replication for mysql
Based on wsrep
message in SHOW PROCESSLIST
you do not have a bi-directional replication, you have synchronous InnoDN Cluster replication. It is not a supported architecture.
Thanks for the clarification. If possible could you please share reference doc where it's mentioned (which cluster it support). I referred this doc: https://github.com/github/gh-ost/blob/master/doc/requirements-and-limitations.md
I'm not sure how come this is not referenced in that document in the first place. My memory may not serve me right. did someone add some support for innodb cluster and we removed the limitation from the doc? @timvaillancourt maybe you know?
Please see https://github.com/github/gh-ost/issues/224#issuecomment-410521022 and https://github.com/github/gh-ost/pull/780/
I don't have any insight into either. I'm not experienced with innodb cluster / galera.
Thanks for this reference.
gh-ost swap table caused writeset replication issues.
We have bi-directional (master -master) replication for mysql. I ran below statement to alter table:
It copied the data successfully to the switcher table. However, by the time of switchover it got stuck at this point:
When, I checked for locking at database level. I didn't find any. However, when I ran show processlist; - I saw replication was getting stuck:
I cancelled the gh-ost execution and even after cancelling it - the cluster was keep hanging. Finally, we had to restart the whole node.