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

MDL conflict between XA and DDL in Galera cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Won't Do
    • None
    • N/A
    • Galera
    • None
    • Can result in hang or crash
    • Q4/2025 Galera Maintenance

    Description

      MDL locking refactoring brought in by 11.8 ES rebase has caused regression for XA transaction handling in Galera cluster. This shows as failures with galera_sr.galera_xa_ddl_conflict and galera_sr. galera_xa_ddl_conflict_committing tests

      With rr tracing it appeared that when MDL locking for a DDL execution fails in can grant test because the blocking lock holder is a prepared XA transaction, it appends the request in wait queue. Correct behavior would be to make the DDL fail and give deadlock error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            seppo Seppo Jaakola
            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.