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

cooperative_monitoring_locks can leave stale locks on a server if network breaks

    XMLWordPrintable

Details

    • MXS-SPRINT-206

    Description

      If the network between MaxScale and MariaDB Server breaks, the server may not consider the connection broken. This can leave exclusive lock held for a long time, unable to be claimed by anyone. This issue can be mitigated with server tcp keepalive settings, but these settings affect all connections.

      A more elegant solution is for the monitor to set session-level wait_timeout when connecting. This causes server to break the connection if it's idle for longer than the timeout. The value of the timeout must be set carefully, so as not to interfere with any monitor operations.

      Attachments

        Activity

          People

            esa.korhonen Esa Korhonen
            esa.korhonen Esa Korhonen
            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.