[MDEV-14841] ALTER TABLE for RocksDB is not allowed with binlog_format other than ROW Created: 2018-01-01  Updated: 2018-05-14

Status: Open
Project: MariaDB Server
Component/s: Data Definition - Alter Table, Storage Engine - RocksDB
Affects Version/s: 10.2
Fix Version/s: 10.4

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Petrunia
Resolution: Unresolved Votes: 0
Labels: None


 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;


Generated at Thu Feb 08 08:16:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.