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

Assertion `server_id.is_undefined() == false' failed in wsrep::transaction::certify_fragment()

Details

    Description

      The following assertion triggers when there is attempt to certify a fragment and server has meanwhile disconnected from the cluster.

      mysqld: /home/sciascid/Workspace/src/mariadb-server/wsrep-lib/src/transaction.cpp:1538: int wsrep::transaction::certify_fragment(wsrep::unique_lock<wsrep::mutex>&): Assertion `server_id.is_undefined() == false' failed.
       
      Thread pointer: 0x7f112807a940
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x7f11808d7e50 thread_stack 0x49000
      mysys/stacktrace.c:174(my_print_stacktrace)[0x55d2c5e0cf62]
      sql/signal_handler.cc:222(handle_fatal_signal)[0x55d2c55341c2]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f11ada34980]
      linux/raise.c:51(__GI_raise)[0x7f11acb2cfb7]
      stdlib/abort.c:81(__GI_abort)[0x7f11acb2e921]
      assert/assert.c:89(__assert_fail_base)[0x7f11acb1e48a]
      /lib/x86_64-linux-gnu/libc.so.6(+0x30502)[0x7f11acb1e502]
      src/transaction.cpp:1539(wsrep::transaction::certify_fragment(std::unique_lock<wsrep::mutex>&))[0x55d2c5eab28c]
      src/transaction.cpp:1430(wsrep::transaction::streaming_step(std::unique_lock<wsrep::mutex>&, bool))[0x55d2c5eaabae]
      src/transaction.cpp:266(wsrep::transaction::after_row())[0x55d2c5ea6659]
      wsrep/client_state.hpp:400(wsrep::client_state::after_row())[0x55d2c55501b5]
      sql/wsrep_trans_observer.h:172(wsrep_after_row_internal(THD*))[0x55d2c5535a69]
      sql/handler.cc:6581(wsrep_after_row(THD*))[0x55d2c5549302]
      sql/handler.cc:6781(handler::ha_write_row(unsigned char const*))[0x55d2c554a21a]
      sql/sql_insert.cc:2072(write_record(THD*, TABLE*, st_copy_info*))[0x55d2c51b776b]
      sql/sql_insert.cc:1078(mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool))[0x55d2c51b461b]
      sql/sql_parse.cc:4598(mysql_execute_command(THD*))[0x55d2c520282f]
      sql/sql_parse.cc:7995(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55d2c520e017]
      sql/sql_parse.cc:7810(wsrep_mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55d2c520d715]
      sql/sql_parse.cc:1843(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55d2c51fa248]
      sql/sql_parse.cc:1373(do_command(THD*))[0x55d2c51f8aed]
      sql/sql_connect.cc:1420(do_handle_one_connection(CONNECT*))[0x55d2c5387a2a]
      sql/sql_connect.cc:1317(handle_one_connection)[0x55d2c53876cf]
      perfschema/pfs.cc:1871(pfs_spawn_thread)[0x55d2c58a4d18]
      nptl/pthread_create.c:463(start_thread)[0x7f11ada296db]
      x86_64/clone.S:97(clone)[0x7f11acc0f71f]
      

      Attachments

        Activity

          sciascid Daniele Sciascia created issue -
          sciascid Daniele Sciascia made changes -
          Field Original Value New Value
          sciascid Daniele Sciascia made changes -
          Affects Version/s 10.4.22-14 [ 26103 ]
          sciascid Daniele Sciascia made changes -
          Component/s Galera [ 10124 ]
          Component/s Galera [ 14918 ]
          Key MENT-1397 MDEV-27615
          Affects Version/s 10.4.22 [ 26031 ]
          Affects Version/s 10.4.22-14 [ 26103 ]
          Project MariaDB Enterprise [ 11500 ] MariaDB Server [ 10000 ]
          julien.fritsch Julien Fritsch made changes -
          Fix Version/s 10.4 [ 22408 ]
          jplindst Jan Lindström (Inactive) made changes -
          Assignee Daniele Sciascia [ sciascid ] Jan Lindström [ jplindst ]
          jplindst Jan Lindström (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jplindst Jan Lindström (Inactive) made changes -
          issue.field.resolutiondate 2022-01-27 09:28:44.0 2022-01-27 09:28:44.352
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.4.23 [ 26807 ]
          Fix Version/s 10.5.14 [ 26809 ]
          Fix Version/s 10.6.6 [ 26811 ]
          Fix Version/s 10.7.2 [ 26813 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]

          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.