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

Doing a controlled shutdown doesn't trigger query retrying

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: readwritesplit
    • Labels:
      None
    • Sprint:
      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

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration