[MDEV-22616] CHECK TABLE fails with wsrep_trx_fragment_size > 0 Created: 2020-05-18  Updated: 2021-04-19  Resolved: 2020-05-21

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.4.13, 10.5.3
Fix Version/s: 10.5.4, 10.4.14

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
Relates
relates to MDEV-22617 Galera node crashes when trying to lo... Closed

 Description   

When having wsrep_trx_fragment_size set to a non-zero value on a Galera
node, any CHECK TABLE command will fail with

"Streaming replication not supported with binlog_format=STATEMENT"

which looks pretty weird as with Galera binlog_format=ROW is enforced, and STATEMENT is not even possible.

MariaDB [test]> check table t1;
+---------+-------+----------+------------------------------------------------------------------+
| Table   | Op    | Msg_type | Msg_text                                                         |
+---------+-------+----------+------------------------------------------------------------------+
| test.t1 | check | Error    | Streaming replication not supported with binlog_format=STATEMENT |
| test.t1 | check | error    | Corrupt                                                          |
+---------+-------+----------+------------------------------------------------------------------+


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