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

Assertion `commit_trx' failed during galera_as_master

Details

    • Bug
    • Status: In Review (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.6
    • 10.6
    • Galera
    • None

    Description

      Test started to fail after fix for MDEV-24035 due to assertion `commit_trx` in `innobase_commit()`:

      20:03:36 #10 0x00007b2155c2871b in __assert_fail_base (fmt=0x7b2155ddd130 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5b938b15e821 "commit_trx", file=0x5b938b161eb0 "/tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc", line=4718, function=<optimized out>) at ./assert/assert.c:92
      20:03:36 #11 0x00007b2155c39e96 in __GI___assert_fail (assertion=0x5b938b15e821 "commit_trx", file=0x5b938b161eb0 "/tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc", line=4718, function=0x5b938b165080 "int innobase_commit(handlerton*, THD*, bool)") at ./assert/assert.c:101
      20:03:36 #12 0x00005b938a836ea0 in innobase_commit (hton=<optimized out>, thd=0x7b20e0000dc8, commit_trx=<optimized out>) at /tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc:4718
      20:03:36 #13 0x00005b938a460c95 in commit_one_phase_2 (thd=thd@entry=0x7b20e0000dc8, all=all@entry=false, trans=trans@entry=0x7b20e00047b8, is_real_trans=is_real_trans@entry=true) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:2155
      20:03:36 #14 0x00005b938a4627f8 in ha_commit_trans (thd=thd@entry=0x7b20e0000dc8, all=all@entry=false) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:1973
      20:03:36 #15 0x00005b938a2fe869 in trans_commit_stmt (thd=thd@entry=0x7b20e0000dc8) at /tmp/workspace/mariadb-10.6-build/sql/transaction.cc:497
      20:03:36 #16 0x00005b938a180d23 in mysql_execute_command (thd=thd@entry=0x7b20e0000dc8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /tmp/workspace/mariadb-10.6-build/sql/sql_parse.cc:6215
      20:03:36 #17 0x00005b938a1820f0 in mysql_parse (thd=thd@entry=0x7b20e0000dc8, rawbuf=rawbuf@entry=0x7b20e0014630 "INSERT INTO t2 VALUES(1)", length=length@entry=24, parser_state=parser_state@entry=0x7b2150932240) at /tmp/workspace/mariadb-10.6-build/sql/sql_parse.cc:8199
      20:03:36 #18 0x00005b938a182f2a in wsrep_mysql_parse (thd=thd@entry=0x7b20e0000dc8, rawbuf=0x7b20e0014630 "INSERT INTO t2 VALUES(1)", length=24, parser_state=parser_state@entry=0x7b2150932240) at /tmp/workspace/mariadb-10.6-build/sql/sql_parse.cc:8010
      20:03:36 #19 0x00005b938a1847df in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7b20e0000dc8, packet=packet@entry=0x7b20e000bc29 "INSERT INTO t2 VALUES(1)", packet_length=packet_length@entry=24, blocking=blocking@entry=true) at /tmp/workspace/mariadb-10.6-build/sql/sql_class.h:242
      20:03:36 #20 0x00005b938a18740d in do_command (thd=thd@entry=0x7b20e0000dc8, blocking=blocking@entry=true) at /tmp/workspace/mariadb-10.6-build/sql/sql_parse.cc:1422
      

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Ralf Gebhardt made transition -
            Open In Progress
            23d 1h 45m 1
            Marko Mäkelä made transition -
            In Progress In Testing
            5d 17h 34m 1
            Marko Mäkelä made transition -
            In Testing Stalled
            51s 1
            Jan Lindström made transition -
            Stalled In Progress
            8d 6h 20m 1
            Jan Lindström made transition -
            In Progress In Review
            13s 1

            People

              sysprg Julius Goryavsky
              sciascid Daniele Sciascia
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.