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

Assertion during graceful shutdown with wsrep_on=OFF

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

            sciascid Daniele Sciascia created issue -
            jplindst Jan Lindström (Inactive) made changes -
            Field Original Value New Value
            Assignee Daniele Sciascia [ sciascid ] Jan Lindström [ jplindst ]
            jplindst Jan Lindström (Inactive) made changes -
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            jplindst Jan Lindström (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jplindst Jan Lindström (Inactive) made changes -
            issue.field.resolutiondate 2020-11-04 07:29:43.0 2020-11-04 07:29:43.874
            jplindst Jan Lindström (Inactive) made changes -
            Fix Version/s 10.4.17 [ 25024 ]
            Fix Version/s 10.5.8 [ 25023 ]
            Fix Version/s 10.6.0 [ 24431 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            danblack Daniel Black made changes -
            Fix Version/s 10.4.18 [ 25110 ]
            Fix Version/s 10.4.9 [ 23906 ]
            Fix Version/s 10.5.8 [ 25023 ]
            Fix Version/s 10.4.17 [ 25024 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.5.9 [ 25109 ]
            Fix Version/s 10.4.9 [ 23906 ]
            stepan.patryshev Stepan Patryshev (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 115117 ] MariaDB v4 [ 158521 ]

            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.