Bug #86760 MySQL Shell: dba.dropMetaDataSchema() doesn't work.
Submitted: 20 Jun 2017 17:38 Modified: 27 Oct 2017 11:42
Reporter: Sivan Koren Email Updates:
Status: Closed Impact on me:
None 
Category:Shell AdminAPI InnoDB Cluster / ReplicaSet Severity:S3 (Non-critical)
Version:1.0.9 OS:Any
Assigned to: CPU Architecture:Any
Tags: InnoDB Cluster, MySQL, shell

[20 Jun 2017 17:38] Sivan Koren
Description:
https://dev.mysql.com/doc/refman/5.7/en/mysql-innodb-cluster-working-with-production-deplo...

The documentation for InnoDB Cluster specifies that the "dba.dropMetaDataSchema()" method can be used in MySQL Shell to drop the cluster metadata. However, entering this into MySQL Shell produces the following message:

Invalid object member dropMetaDataSchema (AttributeError)

How to repeat:
Attempt to remove innodb cluster metadata using dba.dropMetaDataSchema() in MySQL Shell.

Suggested fix:
dba.dropMetaDataSchema() should remove the metadata as described in the documentation.

OR

References to dba.dropMetaDataSchema() should be removed from the documentation if this method is no longer available in the GA release.

OR

The documentation should be updated to reflect more specific instructions for using this method.
[22 Jun 2017 12:07] MySQL Verification Team
Hello Sivan Koren,

Thank you for the report.

Thanks,
Umesh
[26 Jul 2017 13:53] Miguel Araujo
Posted by developer:
 
All the documentation references to 'dba.dropMetaDataSchema()' should be changed to 'dba.dropMetadataSchema()'.

s/dropMetaDataSchema/dropMetadataSchema
[12 Oct 2017 10:14] Miguel Araujo
Posted by developer:
 
The typos on the references to dba.dropMetadataSchema() are located, in the new version of the user guide, at:

https://dev.mysql.com/doc/refman/5.7/en/mysql-innodb-cluster-working-with-cluster.html
[27 Oct 2017 11:42] David Moss
Posted by developer:
 
Thank you for your feedback, this has been fixed in the docs.