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

Assertion .thd->in_active_multi_stmt in TOI

    XMLWordPrintable

Details

    • Can result in hang or crash
    • Galera node using GTIDs could crash if multiple DDLs are executed concurrently.
    • Q4/2026 Replic. Maintenance

    Description

      See stress test attached.

      The essential ingredients are just three: the ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB at the top (drop it and all 5 runs pass), wsrep_gtid_mode=1 with node_1 as an async replica so the DDL arrives with domain 3, and the 150-iteration DDL loop. slave-parallel-threads/wsrep-slave-threads are carried over from my other tests and I did not verify they're required.

      Attachments

        1. bug.cnf
          0.4 kB
        2. bug.test
          2 kB

        Activity

          People

            janlindstrom Jan Lindström
            janlindstrom Jan Lindström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2d
                2d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1d 0.5h Time Not Required
                1d 0.5h

                Git Integration

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