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

Handle prepared statements in NamedServerFilter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.14
    • Fix Version/s: 6.2.0
    • Component/s: namedserverfilter
    • Labels:
      None

      Description

      This is a request to allow NamedServerFilter to be able to route prepared statements to a specific server based on user and/or host. This currently works fine for SELECT, INSERT, UPDATE, DELETE, but does not work for prepared statements.

      Per Markus, "the namedserverfilter will add a hint for the preparation but the execution of the prepared statement will not get a hint".

      We see this when running sysbench against the NamedServerFilter, as the queries are not routed, unless you specify the --db-ps-mode=disable option.

        Attachments

          Activity

            People

            Assignee:
            esa.korhonen Esa Korhonen
            Reporter:
            ccalender Chris Calender
            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.