[MXS-1670] "alter server abc address=..." does not immediately register in monitor Created: 2018-02-15 Updated: 2020-04-14 Resolved: 2020-04-14 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbmon, REST-API |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | 2.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Esa Korhonen | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Sprint: | MXS-SPRINT-103 |
| Description |
|
If altering server address to an invalid address, the monitor does not take address to use unless the monitor is stopped and restarted.
The router does detect the error immediately. |
| Comments |
| Comment by markus makela [ 2020-02-03 ] |
|
The monitor that monitors the server should probably be restarted whenever a server it monitors changes. |
| Comment by markus makela [ 2020-04-14 ] |
|
The monitor is restarted whenever changes to servers are done via the REST API. |
| Comment by Johan Wikman [ 2020-04-14 ] |
|
Ah, ok. I assumed the backend implementation was the same. Anyway, I think it would be better to reject changes made to a monitored server, if the monitor is running. |
| Comment by markus makela [ 2020-04-14 ] |
|
That would render alter server pretty cumbersome to use and the restart is done only to recycle the connections. |