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

Doing a controlled shutdown doesn't trigger query retrying

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • readwritesplit
    • None
    • MXS-SPRINT-70

    Description

      When a query is interrupted by a server shutdown, it won't get retried as it appears to the router like any normal error (e.g. a syntax error). This can be worked around by putting the server first into maintenance mode and then shutting the server down.

      One way of dealing with this is to inspect the returned packet in RWBackend::process_reply and store the error type. If the correct error is found a fake hangup event on the DCB could be created and the normal error handling would take care of the retrying.

      Attachments

        Activity

          People

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