Bug #72808 | Consider adding SRV support to clients for connecting to a master | ||
---|---|---|---|
Submitted: | 30 May 2014 7:01 | Modified: | 8 Sep 14:25 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Connection Handling | Severity: | S4 (Feature request) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | client, connetions, dns, GTID, pooling, SRV |
[30 May 2014 7:01]
Simon Mudd
[2 Jun 2014 7:47]
MySQL Verification Team
Hello Simon, Thank you for the feature request! Thanks, Umesh
[22 Sep 2017 6:25]
Simon Mudd
Re-reading this my request was focused on master connections. However the more common use case of this would be to connect to one of a pool of MySQL clients in the same "pool". Currently load balancing of connections to such pools has to be handled by the client and everyone does it differently. Support in the client library for the DNS SRV type would _permit_ the DBAs to provide a "pool name" with the servers to talk to under that. Priority/Weight is handled by the SRV DNS type so that's good and then you can basically distribute load much more easily to back end mysql servers. So this need is just as true now as it was when I wrote it and it has various use cases.
[8 Sep 14:14]
Simon Mudd
Now available in 8.4, see: https://dev.mysql.com/doc/refman/8.4/en/connecting-using-dns-srv.html
[8 Sep 14:25]
Simon Mudd
Actually to be honest it's here: commit a3b495730d2932a5790962daac0a993add32ea78 Author: Georgi Kodinov <georgi.kodinov@oracle.com> Date: Mon May 18 14:31:06 2020 +0200 WL#13905: libmysql support for DNS SRV RB#24157 However, I seem to be unable to find the release notes which indicate in which version it was released. Sometime in 8.0.