[MXS-1586] Mysqlmon switchover does not immediately detect bad new master Created: 2017-12-21  Updated: 2018-01-31  Resolved: 2018-01-31

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbmon
Affects Version/s: None
Fix Version/s: 2.2.2

Type: Bug Priority: Minor
Reporter: Johan Wikman Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-50, MXS-SPRINT-51

 Description   

If a master switchover is initiated and the specified server cannot be used as master, that it is not actively detected but will become apparent only as a side-effect of the attempt failing due to a timeout.

The test mysqlmon_switchover_bad_master tests this and the test reports:

Trying to do manual switchover to server4
{
    "errors": [
        {
            "detail": "MASTER_GTID_WAIT() timed out on slave 'server4'."
        }
    ]
}

So, the switchover fails, which is the expected outcome, but the fact that the server cannot serve as master should be detected immediately.


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