Bug #91972 | Group Replication prevents the creation of multi-primary cluster | ||
---|---|---|---|
Submitted: | 10 Aug 2018 19:20 | Modified: | 25 Nov 2019 16:56 |
Reporter: | Wilmar Calderón Torres | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Shell AdminAPI InnoDB Cluster / ReplicaSet | Severity: | S3 (Non-critical) |
Version: | 5.7.23 | OS: | CentOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | Multi-Primary Cluster, MySQL Group Replication, mysql innodb cluster, MySQL Shell AdminAPI |
[10 Aug 2018 19:20]
Wilmar Calderón Torres
[21 Dec 2018 8:38]
MySQL Verification Team
Thanks for your report! all best Bogdan
[9 Sep 2019 12:41]
Edward Pilipczuk
Suggested fix cannot be applied when two tables are joined this way when Primary Key (NOT NULL) is used as Foreign Key. In this case 'ON DELETE NO ACTION' has to be set.
[6 Nov 2019 18:06]
Juan Rene Ramirez Monarrez
Posted by developer: This problem gets solved in metadata version 2.0.0 In metadata version 2.0.0, the offending constraints are no longer present, removing this limitation. So to fix this use MySQL Shell 8.0.19, if the cluster was created using a lower version, the metadata should be upgraded using dba.upgradeMetadata() Thanks for submitting this report!
[25 Nov 2019 16:56]
David Moss
Posted by developer: Thank you for your feedback, this has been fixed in upcoming versions and the following was added to the 8.0.19 changelog: It was not possible to create a multi-primary cluster due to to cascading constraints on the InnoDB cluster metadata tables. This has been fixed in version 8.0.19 and so to solve this issue upgrade your cluster using dba.upgradeMetadata().