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

Test primary server writablity in MariaDB Monitor

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 24.02.0
    • None
    • mariadbmon
    • None

    Description

      Currently the monitor does not detect failures where server is connectable and responds to read queries but writes hang (often due to storage-related errors). These could be detected by periodically doing a small write (need not be binlogged, avoids advancing gtid) and checking if the write goes through and result is readable. If the write fails or hangs, the server should be considered down and failovered. Will require several settings, possibly as follows:

      failover_if_master_fails_write_test: Is the feature on? The other settings can have defaults. This could be number indicating how many tests must fail.
      write_test_interval: How often is the test made? Test can be omitted if master gtid is clearly advancing from client writes.
      write_test_table: Where should MaxScale try to write?

      Attachments

        Activity

          People

            esa.korhonen Esa Korhonen
            esa.korhonen Esa Korhonen
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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