[MXS-560] Server status unknown after reloading config Created: 2016-01-27 Updated: 2016-01-27 Resolved: 2016-01-27 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxadmin |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Krzysztof Książek | Assignee: | Johan Wikman |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
EC2, Ubuntu 14.04 |
||
| Description |
|
Assume MaxScale installation with 2 MySQL replication nodes. Third one is added to the configuration file. MaxScale is reloaded. As a result I'm seeing: MaxScale> list servers I see no way to make .179 detectable as a slave to the master by MaxScale. Both init scripts and reload config trigger reload but server's status doesn't change: root@ip-172-30-4-52:~# echo "reload config" |maxadmin -pmariadb ; date 2016-01-27 13:25:39 Update server protocol for server 172.30.4.179 to protocol MySQLBackend. root@ip-172-30-4-52:~# echo "list servers" |maxadmin -pmariadb ; date MaxScale restart is required to properly detect the state of the node. root@ip-172-30-4-52:~# service maxscale restart ; echo "list servers" |maxadmin -pmariadb ; date
If this behavior is expected, please treat this report as a feature request. There should be a way to dynamically add new nodes while keeping MaxScale running. |
| Comments |
| Comment by Johan Wikman [ 2016-01-27 ] |
|
That's a correct observation. Currently it is not possible to add a server without restarting MaxScale. In the 1.4 release of MaxScale it is planned to extend the ways in which it can be reconfigured without having to restart it. |
| Comment by Johan Wikman [ 2016-01-27 ] |
|
The behaviour is how MaxScale works currently. The desired behaviour is planned for 1.4. |