Bug #72094 mysqlfabric commands should accept not only uuid but also host:port
| Submitted: | 21 Mar 2014 13:14 | Modified: | 23 May 2014 4:23 |
|---|---|---|---|
| Reporter: | Alfranio Tavares Correia Junior | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Fabric | Severity: | S3 (Non-critical) |
| Version: | 1.4.0 | OS: | Any |
| Assigned to: | Alfranio Tavares Correia Junior | CPU Architecture: | Any |
[21 Mar 2014 13:14]
Alfranio Tavares Correia Junior
[14 May 2014 15:54]
Martin Arrieta
I made a few tests about this bug.
Basically I removed the UUID check before each MySQLServer.fetch on services/server.py and then I have added the check in the MySQLServer.fetch method on server.py.
[root@store BUG-72094]# mysqlfabric server set_status node1 spare
Procedure :
{ uuid = c0a72e17-e05c-4996-b327-61a652070e8d,
finished = True,
success = True,
return = True,
activities =
}
[root@store BUG-72094]# mysqlfabric server set_status 8afe5f0f-da03-11e3-907e-0800274fb806 secondary
Procedure :
{ uuid = b90adcef-302d-4ecf-988e-a0b9351e5f29,
finished = True,
success = True,
return = True,
activities =
}
It is just an idea :)
Regards,
Martin.
[14 May 2014 15:55]
Martin Arrieta
bundle with the patch.
Attachment: bug-72094 (application/octet-stream, text), 5.67 KiB.
[23 May 2014 4:23]
Philip Olson
Fixed as of the upcoming MySQL Utilities 1.4.3 release, and here's the changelog entry: Some Fabric commands, such as "server.set_status" and "group.promote", accepted a reference to a MySQL server's uuid but not a reference to an address and port. Thank you for the bug report.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.