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

galera.MDEV-34117 fails: ER_LOCK_WAIT_TIMEOUT (1205) on SELECT @@wsrep_trx_fragment_unit

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11, 11.4, 11.8, 12.3, 13.1
    • None
    • Galera, Tests, MTR
    • None

    Description

      galera.MDEV-34117 fails with ERROR 1205 (ER_LOCK_WAIT_TIMEOUT) on the 10.11, 11.4, 11.8, 12.3, 13.1 and main branches.

      Build Run Info

      Branch Builder name Date Commit Variant
      10.11 s390x-ubuntu-2204 2026-10-02T10:52:23Z 54e83d73f2ec1d3918bf5748c4b882f9073fa800 none
      11.4 s390x-ubuntu-2204 2026-10-02T21:36:48Z ce029f6148fc05c477741aa4585edc8432feafc9 none
      11.8 aarch64-debian-12 2026-10-01T09:27:21Z 365d2d1f3e616c0c89c14bd9a4a420834ae35c28 none
      12.3 aarch64-debian-12 2026-10-03T06:42:04Z f7e7c6bea4a47746e9fc899e26124c4e0fc5c967 none
      13.1 aarch64-debian-12 2026-10-01T06:41:01Z 87e62ca17270e163a6d41b3fc8d6f4d440f1bb88 none
      main s390x-ubuntu-2204 2026-09-29T23:38:23Z f3b7fadf77a44692c68d054ce5070898ba862c23 none

      Failure text

      Latest run on 10.11 (worker number, timestamps and paths differ between runs):

      galera.MDEV-34117                        w10 [ fail ]
              Test ended at 2026-10-02 08:57:39
       
      CURRENT_TEST: galera.MDEV-34117
      mysqltest: At line 49: query 'SELECT @@wsrep_trx_fragment_unit' failed: ER_LOCK_WAIT_TIMEOUT (1205): Lock wait timeout exceeded; try restarting transaction
       
      The result from queries just before the failure was:
      < snip >
      SELECT @@wsrep_trx_fragment_size;
      @@wsrep_trx_fragment_size
      0
      SET SESSION wsrep_trx_fragment_size = 0;
      SELECT @@wsrep_trx_fragment_unit;
      @@wsrep_trx_fragment_unit
      bytes
      SELECT @@wsrep_trx_fragment_size;
      @@wsrep_trx_fragment_size
      0
      SET GLOBAL wsrep_on=ON;
      SET SESSION wsrep_trx_fragment_unit='STATEMENTS';
      ERROR 42000: Variable 'wsrep_trx_fragment_unit' can't be set to the value of 'STATEMENTS'
      SET SESSION wsrep_trx_fragment_size = 2;
      ERROR 42000: Variable 'wsrep_trx_fragment_size' can't be set to the value of '2'
      SHOW WARNINGS;
      Level	Code	Message
      Warning	1231	Cannot set 'wsrep_trx_fragment_size' to a value other than 0 because streaming table mysql.wsrep_streaming_log does not exists.
      Error	1231	Variable 'wsrep_trx_fragment_size' can't be set to the value of '2'
      SELECT @@wsrep_trx_fragment_unit;
       
      More results from queries before failure can be found in /home/buildbot/s390x-ubuntu-2204/build/mysql-test/var/10/log/MDEV-34117.log
       
       - saving '/home/buildbot/s390x-ubuntu-2204/build/mysql-test/var/10/log/galera.MDEV-34117/' to '/home/buildbot/s390x-ubuntu-2204/build/mysql-test/var/log/galera.MDEV-34117/'
       
      Retrying test galera.MDEV-34117, attempt(2/3)...

      Some runs, seen on 11.4, 11.8 and 13.1, fail one statement later: At line 50: query 'SELECT @@wsrep_trx_fragment_size' failed: ER_LOCK_WAIT_TIMEOUT (1205): Lock wait timeout exceeded; try restarting transaction.

      Analysis

      Two builders are affected, aarch64-debian-12 and s390x-ubuntu-2204, and every listed branch fails on at least one of them (10.11, 12.3 and 13.1 on both). The failing statement is the first or second SELECT on node_2 after SET GLOBAL wsrep_on=ON (MDEV-34117.test line 49 or 50); the same SELECT statements earlier in the test, while wsrep_on is OFF, succeed in these runs.

      Created via the mtr-failure-bug skill.

      Attachments

        Issue Links

          Activity

            People

              hemantdangi Hemant Dangi
              susil.behera Susil Behera
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.