[MXS-1418] remove server does not drain node Created: 2017-09-15 Updated: 2018-02-20 Resolved: 2017-09-18 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readconnroute, readwritesplit |
| Affects Version/s: | 2.1.7 |
| Fix Version/s: | 2.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oli Sennhauser | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
linux ubntu 14.04 n.a. |
||
| Description |
|
MaxScale> list services MaxScale> remove server nodeA MarGal101 root@mariadb-10.2 [(none)] SQL> SELECT @@hostname, @@wsrep_node_name;
-----------
----------- root@mariadb-10.2 [(none)] SQL> SELECT @@hostname, @@wsrep_node_name; -----------
-----------
----------- |
| Comments |
| Comment by Oli Sennhauser [ 2017-09-15 ] |
|
cat maxscale.cnf [nodeA] [nodeB] [nodeC] [MySQL Monitor] [ProductsSelectLogger] [MarGal101] [MaxAdmin Service] [MarGal101 Listener] [MaxAdmin Listener] |
| Comment by Oli Sennhauser [ 2017-09-15 ] |
|
MariaDB MaxScale /tmp/maxscale.log Fri Sep 15 11:23:55 2017 |
| Comment by markus makela [ 2017-09-16 ] |
|
The code checks for each query that the server is in the service. The removal of a server should only affect new sessions that connect to the service. |