Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27649

prepared statement cluster conflict crashing in item parameter setup

Details

    Description

      Binary protocol prepared statement execution, which happens after cluster wide conflict, may crash in item parameter setup phase for:

      append_query_string (csinfo=0xa5a5a5a5a5a5a5a5, to=0x7fce93673ff0, str=0x7fcea8059458 "", len=11, no_backslash=false)

      Where character set info is not valid.

      The problem can be reproduced in two node cluster with sysbench:
      sysbench --mysql-host=127.0.0.1 --mysql-port=16001 --mysql-user=root --mysql-password= --mysql-db=sbtest --mysql-ignore-errors=all --time=600 --threads=8 --table-size=20 --tables=3 --report-interval=5 /usr/share/sysbench/oltp_write_only.lua run

      Attachments

        Activity

          seppo Seppo Jaakola created issue -
          seppo Seppo Jaakola made changes -
          Field Original Value New Value
          Fix Version/s 10.5 [ 23123 ]
          seppo Seppo Jaakola made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          seppo Seppo Jaakola made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          seppo Seppo Jaakola made changes -
          Assignee Seppo Jaakola [ seppo ] Jan Lindström [ jplindst ]
          Status Stalled [ 10000 ] In Review [ 10002 ]
          jplindst Jan Lindström (Inactive) made changes -
          Affects Version/s 10.4 [ 22408 ]
          jplindst Jan Lindström (Inactive) made changes -
          issue.field.resolutiondate 2022-03-18 08:04:57.0 2022-03-18 08:04:57.017
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.4.25 [ 27510 ]
          Fix Version/s 10.5.16 [ 27508 ]
          Fix Version/s 10.6.8 [ 27506 ]
          Fix Version/s 10.7.4 [ 27504 ]
          Fix Version/s 10.5 [ 23123 ]
          Resolution Fixed [ 1 ]
          Status In Review [ 10002 ] Closed [ 6 ]

          People

            jplindst Jan Lindström (Inactive)
            seppo Seppo Jaakola
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.