Debian Codegraph @

mysql-test/suite/galera/r/galera_var_max_ws_size.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 VARCHAR(1024)) Engine=InnoDB;
5 SET GLOBAL wsrep_max_ws_size = 1024;
6 INSERT INTO t1 VALUES (DEFAULT, REPEAT('X', 1024));
7 ERROR HY000: Maximum writeset size exceeded
8 SELECT COUNT(*) = 0 FROM t1;
9 COUNT(*) = 0
10 1
11 SET GLOBAL wsrep_provider_options = 'repl.max_ws_size=10000';
12 SELECT @@wsrep_max_ws_size = 10000;
13 @@wsrep_max_ws_size = 10000
14 1
15 SET GLOBAL wsrep_provider_options = 'repl.max_ws_size=20000';
16 SET GLOBAL wsrep_provider_options = 'repl.max_ws_size=10000';
17 SET GLOBAL wsrep_max_ws_size = 20000;
18 provider_options_match
19 1
20 DROP TABLE t1;