Skip to content

Health check should verify replication  #102

@dfredell

Description

@dfredell

As stated in

# TODO: we should make this check actual replication health

lets actually check the health of the replication.

I have ended up in this state https://blog.tinned-software.net/fix-mysql-replication-error/ where SHOW SLAVE STATUS \G; returns
Last_Error: Error 'Can't create database 'my_db'; database exists' on query. Default database: 'my_db'. Query: 'CREATE SCHEMA my_db'

As Gerhard from the link above recommends, we should be checking Slave_IO_Running == Yes && Slave_SQL_Running == Yes && Seconds_Behind_Master != NULL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions