Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5162

Post reboot binlog router entered stuck state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 23.08.4
    • pinloki
    • None
    • Ubuntu, on-prem VM, 2 MaxScales with keepalived, 2 local databases with regular async, 1 offsite SkySQL DR replication with binlog router
    • MXS-SPRINT-213, MXS-SPRINT-214

    Description

      After patching the OS and rebooting the host the binlog router entered a failed state. Timeline of errors:

      • 22:25 - MaxScale Stopped
      • 22:36 - MaxScale Started
      • 22:38:30 - Database Switchover triggered
      • 22:38:35 - `error: Binlog error: Could not open /var/lib/maxscale/binlogs//mariadb-bin.000015 for reading: 2, No such file or directory`
      • 22:38:36 - Database Switchover complete
      • 22:38:37 - `error: (BinlogRouter-Proxy); Error received during replication from '10.60.76.234:3306': Could not open /var/lib/maxscale/binlogs//mariadb-bin.000015 for STOP_EVENT addition`

      The last message repeats until the binlog files are purged manually.

      Also, about two hours before patching, this error was added to the logs:

      `error: Binlog error: Sequence error, binlog file /var/lib/maxscale/binlogs//mariadb-bin.000013 has a STOP_EVENT but the Inventory has no successor for it`

      Attachments

        Issue Links

          Activity

            People

              nantti Niclas Antti
              Paul.rothrock@mariadb.com Paul Rothrock
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.