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

Setting wsrep_slave_threads causes thread hang

    XMLWordPrintable

Details

    • Can result in hang or crash
    • Q3/2025 Maintenance, Q4/2025 Galera Maintenance, Q4/2025 Galera Development

    Description

      SET GLOBAL wsrep_cluster_address=AUTO;
      SET GLOBAL wsrep_slave_threads=12;
      

      Leads to a thread hang. Another connection will show the hanging statement:

      11.0.1 b075191ba8598af6aff5549e6e19f6255aef258a (Optimized)

      11.0.1-opt>SHOW PROCESSLIST;
      +----+------+-----------+------+---------+------+----------+-----------------------------------+----------+
      | Id | User | Host      | db   | Command | Time | State    | Info                              | Progress |
      +----+------+-----------+------+---------+------+----------+-----------------------------------+----------+
      |  4 | root | localhost | test | Query   | 7972 | NULL     | SET GLOBAL wsrep_slave_threads=12 |    0.000 |
      |  5 | root | localhost | test | Query   |    0 | starting | SHOW PROCESSLIST                  |    0.000 |
      +----+------+-----------+------+---------+------+----------+-----------------------------------+----------+
      2 rows in set (0.000 sec)
      

      Attachments

        Issue Links

          Activity

            People

              hemantdangi Hemant Dangi
              Roel Roel Van de Paar
              Jan Lindström Jan Lindström
              Hemant Dangi Hemant Dangi
              Ramesh Sivaraman Ramesh Sivaraman
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.