[MXS-3552] Possible SwitchOver When Master & Slave status is "Maintenance" Created: 2021-05-18 Updated: 2021-08-26 Resolved: 2021-08-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Monitor, readwritesplit |
| Affects Version/s: | 2.4.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | febriyant | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | errors | ||
| Environment: |
CentOS 7 |
||
| Attachments: |
|
| Description |
|
I have trouble when I manually switchover using command
so whether possible switchover when I set Master & slave to maintenance first and after that I Switchover manually ? |
| Comments |
| Comment by markus makela [ 2021-08-25 ] |
|
I think the problem is solved by setting the values of failover_timeout and switchover_timeout to higher values: https://mariadb.com/kb/en/mariadb-maxscale-25-mariadb-monitor/#failover_timeout-and-switchover_timeout How long does that maxctrl command take to execute? |
| Comment by markus makela [ 2021-08-25 ] |
|
Tested with MaxScale 2.5 and it seems to work as expected. I used a replication delay of 150 seconds and switchover_timeout of 90 seconds. The maxctrl command returned after about 90 seconds as expected. |
| Comment by febriyant [ 2021-08-26 ] |
|
I think more than value I set on config still got same error. |
| Comment by markus makela [ 2021-08-26 ] |
|
Was this with 2.5? |