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

Use only exceptions in the routing API

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 25.10
    • 25.10.0
    • Core
    • None
    • MXS-SPRINT-235

    Description

      The routing APIs have been steadily moving towards using exceptions to return fatal errors for situations where the whole session must be torn down. The reason for using exceptions is that the context of the error is clearer at the exception handling site which makes for better error messages.

      As a final cleanup, the routeQuery() and clientReply() calls should be modified to have no return values.

      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.