[MXS-1343] MaxScale's binlogrouter does not send hostname to its master Created: 2017-08-07  Updated: 2020-08-25  Resolved: 2017-08-10

Status: Closed
Project: MariaDB MaxScale
Component/s: binlogrouter
Affects Version/s: 1.4.4, 2.0.0, 2.1.5, 2.2.0
Fix Version/s: 2.1.6

Type: New Feature Priority: Major
Reporter: Valerii Kravchuk Assignee: Massimiliano Pinto (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2017-39

 Description   

MaxScale's binlogrouter module is a slave to some master, but unlike normal slaves it does not send hostname at all to its master:

Also, slaves can set a specific hostname for master with --report-host option. I think slave_hostname is needed for binlogrouter to provide the same level of flexibility.



 Comments   
Comment by Massimiliano Pinto (Inactive) [ 2017-08-10 ]

Added a new option: "slave_hostname"

The router can optionally identify itself to the master using a custom hostname.
The specified hostname can be seen in the master via
`SHOW SLAVE HOSTS` command.
The default is not to send any hostname string during registration.

slave_hostname=maxscale-blr-1.mydomain.net

Generated at Thu Feb 08 04:06:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.