Bug #108112 mysqlsh should have a --clusterset flag similar to --cluster
Submitted: 10 Aug 2022 16:27 Modified: 23 Sep 2022 7:32
Reporter: Jay Janssen Email Updates:
Status: Closed Impact on me:
None 
Category:Shell AdminAPI InnoDB Cluster / ReplicaSet Severity:S4 (Feature request)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[10 Aug 2022 16:27] Jay Janssen
Description:
mysqlsh offers the --cluster flag, which preloads a 'cluster' object when the shell is initialized from whatever node shell connects to.  I'd like to suggest a --clusterset:

mysqlsh ... --cluster -- cluster status       # outputs cluster status
mysqlsh ... --clusterset -- clusterset status # outputs clusterset status

How to repeat:
N/A
[10 Aug 2022 16:28] Jay Janssen
Ideally it would populate a `cluster` variable too, so both were available.
[11 Aug 2022 5:02] MySQL Verification Team
Hello Jay Janssen,

Thank you for the feature request!

regards,
Umesh
[23 Sep 2022 7:32] Edward Gilmore
Posted by developer:
 
Added the following note to the MySQL Shell 8.0.31 release notes:

The -- cluster option is extended to assign a ClusterSet variable if the selected Cluster is a member of a        ClusterSet.