Skip to content

Health check should verify replication  #102

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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