summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera_sr/t/GCF-867.test
blob: 54476a860b720f78fbfb650d19bc3da655297451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Test many ongoing SR transactions
#

--source include/galera_cluster.inc
--source include/have_innodb.inc

CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
--disable_query_log

--let $connections = 62

--let $count = $connections
while ($count)
{
--connect $count, 127.0.0.1, root, , test, $NODE_MYPORT_1
SET SESSION wsrep_trx_fragment_size = 1;
SET SESSION wsrep_sync_wait = 0;
--dec $count
}


--let $count = $connections
while ($count)
{
--connection $count
START TRANSACTION;
--send_eval INSERT INTO t1 VALUES ($count)
--dec $count
}

--let $count = $connections
while ($count)
{
--connection $count
--reap
COMMIT;
--dec $count
}

--enable_query_log
DROP TABLE t1;