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

ALTER TABLE for RocksDB is not allowed with binlog_format other than ROW

    XMLWordPrintable

Details

    Description

      10.2 f5c479565d1d07662f23f0a688add6dffeee5f84

      INSTALL SONAME 'ha_rocksdb';
      CREATE TABLE t1 (i INT) ENGINE=RocksDB;
      ALTER TABLE t1 FORCE;
      ERROR HY000: Can't execute updates on master with binlog_format != ROW.
      

      I find it odd. First, ALTER TABLE should have nothing to do with RBR, it's DDL, it's logged as a statement either way. Secondly, if it's really that bad for RocksDB that it cannot even log DDL when binlog_format is not ROW, then it's unclear why CREATE TABLE works.

      --source include/have_log_bin.inc
      --source include/have_binlog_format_mixed.inc
       
      INSTALL SONAME 'ha_rocksdb';
      CREATE TABLE t1 (i INT) ENGINE=RocksDB;
      ALTER TABLE t1 FORCE;
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.