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

Galera node crashes when parallel replication transaction is bf_killed

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      See attached test cases. For me 10.11 crashes quite reliable when testing galera.mgl_326_parallel_replica_rollback

      2026-10-21  7:28:18 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 2)
      2026-10-21  7:28:18 1 [Note] WSREP: Server jan-ThinkPad-P1-Gen-6 synced with group
      2026-10-21  7:28:18 1 [Note] WSREP: Server status change joined -> synced
      2026-10-21  7:28:18 1 [Note] WSREP: Synchronized with group, ready for connections
      2026-10-21  7:28:18 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2026-10-21  7:28:21 11 [Note] Master connection name: ''  Master_info_file: 'master.info'  Relay_info_file: 'relay-log.info'
      2026-10-21  7:28:21 11 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='19002', master_log_file='', master_log_pos='4'.
      2026-10-21  7:28:21 11 [Note] Previous Using_Gtid=Slave_Pos. New Using_Gtid=Slave_Pos
      2026-10-21  7:28:21 13 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:19002' in log '' at position 4
      2026-10-21  7:28:21 13 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:19002',replication starts at GTID position ''
      2026-10-21  7:28:21 14 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 4, relay log './mysqld-relay-bin.000001' position: 4; GTID position ''
      mariadbd: /home/jan/work/mariadb/10.11/sql/handler.cc:2297: int ha_rollback_trans(THD*, bool): Assertion `!(thd->rgi_slave && !thd->rgi_slave->worker_error && thd->rgi_slave->did_mark_start_commit) || (thd->transaction->xid_state.is_explicit_XA() || (thd->rgi_slave->gtid_ev_flags2 & Gtid_log_event::FL_PREPARED_XA))' failed.
      261021  7:28:21 [ERROR] /home/jan/work/mariadb/10.11/sql/mariadbd got signal 6 ;
      

      Attachments

        Activity

          People

            janlindstrom Jan Lindström
            janlindstrom Jan Lindström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 3d Original Estimate - 3d
                3d
                Remaining:
                Time Spent - 2.5h Remaining Estimate - 3d
                3d
                Logged:
                Time Spent - 2.5h Remaining Estimate - 3d
                2.5h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.