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

Assertion when wsrep_on set to OFF with streaming replication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4, 10.5, 10.6
    • Fix Version/s: 10.4.19, 10.5.10
    • Component/s: Galera
    • Labels:
      None

      Description

      The following test:

      CREATE TABLE t1 (f1 INTEGER PRIMARY KEY);
      SET SESSION wsrep_trx_fragment_size=1;
      START TRANSACTION;
      INSERT INTO t1 VALUES(1);
      SET wsrep_on=OFF;
      COMMIT;
      CREATE DATABASE one;
      

      Results in assertion:

      mysqld: /home/sciascid/Workspace/src/mariadb-server/wsrep-lib/src/client_state.cpp:125: int wsrep::client_state::before_command(bool): Assertion `transaction_.active() == false || (transaction_.state() == wsrep::transaction::s_executing || transaction_.state() == wsrep::transaction::s_prepared || transaction_.state() == wsrep::transaction::s_aborted || transaction_.state() == wsrep::transaction::s_must_abort)' failed.
      

        Attachments

          Activity

            People

            Assignee:
            sciascid Daniele Sciascia
            Reporter:
            sciascid Daniele Sciascia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: