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

Handle prepared statements in NamedServerFilter

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.2.14
    • 6.2.0
    • namedserverfilter
    • None
    • MXS-SPRINT-142, MXS-SPRINT-143

    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

            esa.korhonen Esa Korhonen
            ccalender Chris Calender (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 9d
                9d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.