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

CREATE-or-REPLACE bilogged without DDL flag

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7
    • 10.4, 10.5, 10.6
    • Replication
    • None

    Description

      create or replace of both table and sequence are not logged with Gtid event DDL flag
      which affects the slave parallel execution.
      Unlike other DDL:s these two can occur in concurrent execution with following transactions
      which can lead to various errors, including asserts like

      (mdl_request->type != MDL_INTENTION_EXCLUSIVE && mdl_request->type != MDL_EXCLUSIVE) || !(get_thd()->rgi_slave && get_thd()->rgi_slave->is_parallel_exec && lock->check_if_conflicting_replication_locks(this)
      
      

      of MDL_context::acquire_lock

      Attachments

        Activity

          People

            Elkin Andrei Elkin
            Elkin Andrei Elkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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