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

metadata deadlock on restore system table

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.11.11
    • None
    • None
    • None

    Description

      Using mydumper to backup the mysql system table , restore on a replica, then this can deadlock on metadata lock with our workload

      Our MariaDB orchestrator and other in the cloud i get inspiration from.

      We do regular create table if no exist slow_log_<datetime> insert from slow_log to slow_log_<datetime> ;truncate table slow_log when log_output=TABLE to avoid that table growing for ever

      We can code a workaround in our case but this may be nice to fixe as metadata deadlock should not happen by design ?

      Using mysqldump --system=ALL does not deadlock so this is probably caused by the DROP TABLE from the myloader

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stephane@skysql.com VAROQUI Stephane
              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.