Browse Source
MDEV-32631 : galera_2_cluster: before_rollback(): Assertion `0' failed
MDEV-32631 : galera_2_cluster: before_rollback(): Assertion `0' failed
Test case changes only. Add wait_conditions to make sure nodes rejoin the cluster. Assertion itself should not be possible anymore as we do not allow sequences on Aria tables. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>pull/3821/head
committed by
Julius Goryavsky
10 changed files with 153 additions and 22 deletions
-
11mysql-test/suite/galera/r/galera_sequences,binlogoff.rdiff
-
13mysql-test/suite/galera/r/galera_sequences.result
-
4mysql-test/suite/galera/t/galera_sequences.cnf
-
5mysql-test/suite/galera/t/galera_sequences.combinations
-
24mysql-test/suite/galera/t/galera_sequences.test
-
2mysql-test/suite/galera_3nodes/disabled.def
-
32mysql-test/suite/galera_3nodes/r/galera_2_cluster.result
-
9mysql-test/suite/galera_3nodes/t/galera_2_cluster.cnf
-
5mysql-test/suite/galera_3nodes/t/galera_2_cluster.combinations
-
70mysql-test/suite/galera_3nodes/t/galera_2_cluster.test
@ -0,0 +1,11 @@ |
|||
--- r/galera_sequences.result |
|||
+++ r/galera_sequences,binlogoff.reject |
|||
@@ -313,7 +313,7 @@ |
|||
7 4 |
|||
SELECT NEXTVAL(t); |
|||
NEXTVAL(t) |
|||
-42 |
|||
+2 |
|||
connection node_1; |
|||
DROP TABLE t1; |
|||
DROP SEQUENCE t; |
@ -1,13 +1,9 @@ |
|||
!include ../galera_2nodes.cnf |
|||
|
|||
[mysqld.1] |
|||
log-bin |
|||
log-slave-updates |
|||
auto-increment-increment=2 |
|||
auto-increment-offset=1 |
|||
|
|||
[mysqld.2] |
|||
log-bin |
|||
log-slave-updates |
|||
auto-increment-increment=2 |
|||
auto-increment-offset=2 |
@ -0,0 +1,5 @@ |
|||
[binlogon] |
|||
log-bin |
|||
log-slave-updates |
|||
|
|||
[binlogoff] |
@ -1,25 +1,34 @@ |
|||
!include ../galera_2x3nodes.cnf |
|||
|
|||
[mysqld] |
|||
wsrep-debug=1 |
|||
|
|||
[mysqld.1] |
|||
wsrep_gtid_domain_id=1 |
|||
server-id=11 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M;pc.weight=2' |
|||
|
|||
[mysqld.2] |
|||
wsrep_gtid_domain_id=1 |
|||
server-id=12 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M' |
|||
|
|||
[mysqld.3] |
|||
wsrep_gtid_domain_id=1 |
|||
server-id=13 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.3.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M' |
|||
|
|||
[mysqld.4] |
|||
wsrep_gtid_domain_id=2 |
|||
server-id=21 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.4.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M' |
|||
|
|||
[mysqld.5] |
|||
wsrep_gtid_domain_id=2 |
|||
server-id=22 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.5.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M' |
|||
|
|||
[mysqld.6] |
|||
wsrep_gtid_domain_id=2 |
|||
server-id=23 |
|||
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.6.#galera_port;evs.suspect_timeout=PT20S;evs.inactive_timeout=PT30S;evs.install_timeout=PT25S;pc.wait_prim_timeout=PT60S;gcache.size=128M' |
@ -0,0 +1,5 @@ |
|||
[binlogon] |
|||
log-bin |
|||
log-slave-updates |
|||
|
|||
[binlogoff] |
Write
Preview
Loading…
Cancel
Save
Reference in new issue