Bug #91304 | mysqlsh generates invalid JSON when quorum lost | ||
---|---|---|---|
Submitted: | 18 Jun 2018 14:36 | Modified: | 6 Sep 2018 12:25 |
Reporter: | Andrew Pryde | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Document Store: MySQL Shell | Severity: | S3 (Non-critical) |
Version: | 8.0.11 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Jun 2018 14:36]
Andrew Pryde
[6 Sep 2018 12:25]
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.13 changelog: The result of calling dba.get_cluster().status() when quorum was lost could not be converted to a JSON object, because the string representation of the resultant object contained escape sequences. This issue was not limited to the Cluster.status() method, but affected all arrays and dictionaries returned by the Shell API in Python mode. The internal representation of arrays and dictionaries has been fixed.