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

innodb.gap_locks test failure

    XMLWordPrintable

Details

    Description

      Since MDEV-37152 the innodb.gap_locks test has been failing more.

      At one point in 2023 this was occurring however it didn't occur for 2 years.

      A failure example:

      https://buildbot.mariadb.org/#/builders/840/builds/7182

       
       
      CURRENT_TEST: innodb.gap_lock
      --- /home/buildbot/amd64-sles-1506/build/mysql-test/suite/innodb/r/gap_locks.result	2025-09-30 06:33:16.000000000 +0000
      +++ /home/buildbot/amd64-sles-1506/build/mysql-test/suite/innodb/r/gap_locks.reject	2025-09-30 08:13:36.796442832 +0000
      @@ -8,28 +8,28 @@
       DELETE FROM t1 WHERE b='2' AND c=2;
       SHOW ENGINE INNODB STATUS;
       Type	Name	Status
      -InnoDB		2 lock struct(s), 1 row lock(s)
      +InnoDB		0 lock struct(s), 0 row lock(s)
       ROLLBACK;
       SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;
       BEGIN;
       DELETE FROM t1 WHERE b='2' AND c=2;
       SHOW ENGINE INNODB STATUS;
       Type	Name	Status
      -InnoDB		2 lock struct(s), 1 row lock(s)
      +InnoDB		0 lock struct(s), 0 row lock(s)
       ROLLBACK;
       SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
       BEGIN;
       DELETE FROM t1 WHERE b='2' AND c=2;
       SHOW ENGINE INNODB STATUS;
       Type	Name	Status
      -InnoDB		1 lock struct(s), 0 row lock(s)
      +InnoDB		0 lock struct(s), 0 row lock(s)
       ROLLBACK;
       SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
      

      This appeared after and during PR 4252 / MDEV-37152.

      Attachments

        Issue Links

          Activity

            People

              vlad.lesin Vladislav Lesin
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.