我创建一个3节点的MGR(如下),请我现在怎么才可以把ARBITRATOR节点变成有数据的SECONDARY节点? { "clusterName": "GreatSQLMGR", "defaultReplicaSet": { "name": "default", "primary": "10.186.132.44:3306", "ssl": "REQUIRED", "status": "OK", "statusText": "Cluster is ONLINE and can tolerate up to ONE failure.", "topology": { "10.186.132.44:3306": { "address": "10.186.132.44:3306", "instanceErrors": [ "WARNING: Detected an unused recovery account: mysql_innodb_cluster_47. Use Cluster.rescan() to clean up." ], "memberRole": "PRIMARY", "mode": "R/W", "readReplicas": {}, "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", "version": "8.0.32" }, "10.186.132.45:3306": { "address": "10.186.132.45:3306", "memberRole": "SECONDARY", "mode": "R/O", "readReplicas": {}, "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", "version": "8.0.32" }, "10.186.132.47:3306": { "address": "10.186.132.47:3306", "instanceErrors": [ "WARNING: The replication recovery account in use by the instance is not stored in the metadata. Use Cluster.rescan() to update the metadata." ], "memberRole": "ARBITRATOR", "mode": "R/O", "readReplicas": {}, "role": "HA", "status": "ONLINE", "version": "8.0.32" } }, "topologyMode": "Single-Primary" }, "groupInformationSourceMember": "10.186.132.44:3306" } |
yejr
2024-5-22 17:53:31
| ||
reddey
2024-5-31 16:13:46
| ||
一个学艺不精的国产数据库爱好者
|
||
yejr
2024-5-31 16:24:22
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com