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

Assertion during graceful shutdown with wsrep_on=OFF

    XMLWordPrintable

Details

    Description

      A graceful shutdown of a galera node may result in assertion:

      mariadbd: /home/sciascid/Workspace/src/mariadb-server/sql/service_wsrep.cc:264: my_bool wsrep_thd_is_aborting(const THD*): Assertion `((&(&thd->LOCK_thd_data)->m_mutex)->count > 0 && pthread_equal(pthread_self(), (&(&thd->LOCK_thd_data)->m_mutex)->thread))' failed.
      

      This issue was originally found in 10.5, on MTR test galera_3nodes.inconsistency_shutdown. A simpler test was devised that reproduces on 10.4 as well:

      --source include/galera_cluster.inc
      --connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2
      --connection node_2a
      CREATE TABLE t1 (f1 INTEGER PRIMARY KEY);
      --connection node_2
      SET GLOBAL wsrep_on=OFF;
      --source include/shutdown_mysqld.inc
      

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              sciascid Daniele Sciascia
              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.