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

DMLs not getting replicated with log-bin=OFF & binlog-format != ROW

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.42-galera, 10.0.17-galera
    • Fix Version/s: 5.5.43-galera, 10.0.19-galera
    • Component/s: wsrep
    • Labels:
      None

      Description

      DML statements are not getting replicated to other nodes when binlog-format is set to formats other than ROW and binary logging is off.

      Node 1:

      MariaDB [test]> create table t1(i int) engine=innodb;
      Query OK, 0 rows affected (0.39 sec)
      
      MariaDB [test]> set @@session.binlog_format=statement;
      Query OK, 0 rows affected, 1 warning (0.04 sec)
      
      MariaDB [test]> insert into t1 values(1);
      Query OK, 1 row affected (0.11 sec)
      
      MariaDB [test]> create table t2(i int) engine=innodb;
      Query OK, 0 rows affected (0.10 sec)
      

      Node 2:

      MariaDB [test]> show tables;
      +----------------+
      | Tables_in_test |
      +----------------+
      | t1             |
      | t2             |
      +----------------+
      2 rows in set (0.00 sec)
      
      MariaDB [test]> select * from t1;
      Empty set (0.00 sec)
      

        Gliffy Diagrams

          Attachments

            Activity

            Show
            nirbhay_c Nirbhay Choubey added a comment - http://lists.askmonty.org/pipermail/commits/2015-April/007779.html
            Hide
            jplindst Jan Lindström added a comment -

            Ok to push.

            Show
            jplindst Jan Lindström added a comment - Ok to push.
            Show
            nirbhay_c Nirbhay Choubey added a comment - https://github.com/MariaDB/server/commit/581b49dd3d3e2e253812bb24fa881148675320b4

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                nirbhay_c Nirbhay Choubey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: