Bug #108065 | clusterset.rejoinCluster() hangs | ||
---|---|---|---|
Submitted: | 3 Aug 2022 15:46 | Modified: | 2 Sep 2022 16:49 |
Reporter: | Jay Janssen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Shell AdminAPI InnoDB Cluster / ReplicaSet | Severity: | S3 (Non-critical) |
Version: | 8.0.30 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[3 Aug 2022 15:46]
Jay Janssen
[3 Aug 2022 18:35]
Jay Janssen
encountered a similar issue just trying to do a clusterset switchover: MySQL 10.162.0.219:33060+ ssl JS > cs.status() { "clusters": { "jay-test2-east": { "clusterRole": "PRIMARY", "globalStatus": "OK", "primary": "10.162.0.219:3306" }, "jay-test2-west": { "clusterRole": "REPLICA", "clusterSetReplicationStatus": "OK", "globalStatus": "OK" } }, "domainName": "jay-test2", "globalPrimaryInstance": "10.162.0.219:3306", "primaryCluster": "jay-test2-east", "status": "HEALTHY", "statusText": "All Clusters available." } MySQL 10.162.0.219:33060+ ssl JS > cs.setPrimaryCluster("jay-test2-west") Switching the primary cluster of the clusterset to 'jay-test2-west' * Verifying clusterset status ** Checking cluster jay-test2-west Cluster 'jay-test2-west' is available ** Checking cluster jay-test2-east Cluster 'jay-test2-east' is available * Reconciling internally generated GTIDs
[2 Sep 2022 16:49]
Edward Gilmore
Posted by developer: Added the following note to the MySQL Shell 8.0.31 release notes: ClusterSet commands which perform transaction set consistency checking, such as rejoinCluster and setPrimaryCluster, became unresponsive during view change log event reconciliations if the write load was high. This occurred because reconciliation included the entire transaction backlog instead of just the view change log events.