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

Query classification data is unintentionally shared between multiple queries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 22.08.2
    • 22.08.3
    • Core
    • None

    Description

      If more than one COM_QUERY packet is read from the client at the same time, they will all share the query classification data of the first type. This happens as the shared buffer that contains the raw data that was read from the socket also contains the query classification data.

      For example, both of the following queries are treated as it they were INSERT statements when executed as a pipelined batch.

      INSERT INTO t1 VALUES (1);
      COMMIT
      

      This is one of the problems that cause MXS-4419.

      Attachments

        Issue Links

          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.