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

Readwritesplit does not detect unrecoverable situations

    XMLWordPrintable

Details

    Description

      If all the backends used by a readwritesplit session failed in a way that is considered a permanent failure, the retrying of interrupted queries is done regardless of this. This makes failures slower than they should be when the unrecoverable state could be detected much earlier.

      An easy way to test this is to use connection_init_sql_file with invalid SQL in it and then configure readwritesplit with transaction_replay. With the default timeout of 10 seconds, the failure will take 10 seconds to be reported to the client instead of being reported instantly when the initialization failure is seen.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.