Philip Stoev
ee22ac3808
Galera MTR Tests: Various test stability fixes (take #5 )
2015-09-09 22:53:39 -04:00
Philip Stoev
7d73931cbc
Galera MTR Tests: Various test stability fixes (take #4 )
2015-09-09 22:53:38 -04:00
Philip Stoev
ff76214a46
Galera MTR Tests: Various test stability fixes (take #3 )
2015-09-09 22:53:38 -04:00
Philip Stoev
fd0aaad547
Galera MTR Tests: Various test stability fixes (take #2 )
2015-09-09 22:53:32 -04:00
Philip Stoev
997119dafe
Galera MTR Tests: Various test stability fixes.
2015-09-09 22:45:58 -04:00
Philip Stoev
182b237d40
Galera MTR Tests: remove variable output from galera_gra_log.test (take #2 )
2015-09-09 22:42:43 -04:00
Philip Stoev
c9d4581e8a
Galera MTR Tests: remove variable output from galera_gra_log.test
2015-09-09 22:42:43 -04:00
Philip Stoev
2316a4e19f
Galera MTR Tests: Tests for GRA*.log files, replication bundle, preordered events, forced binlog format
2015-09-09 22:42:42 -04:00
Philip Stoev
a1a7414b1d
Galera MTR Tests: An end-to-end test with restoring a node from xtrabackup; a test for restoring the primary component via pc.bootstrap
2015-09-09 22:42:31 -04:00
Philip Stoev
1e2906892a
Galera MTR Tests: Valgrind suppression for codership/galera#306
2015-09-09 22:41:02 -04:00
Philip Stoev
3893b5c6da
Galera MTR Tests: mark all tests operating on large data sets with --source include/big-test.inc to help with Valgrind
2015-09-09 22:41:02 -04:00
Philip Stoev
83579c2ff3
Galera MTR Tests: fixes for mysqldump SST/IST tests
2015-09-09 22:39:28 -04:00
Philip Stoev
10f5c08f4b
Refs codership/QA#47 . Additional tests for FTWRL.
2015-09-09 22:39:27 -04:00
Philip Stoev
6104a27c98
Galera MTR Tests: increase lock wait timeout in suite/galera/t/galera_many_rows.test
2015-09-09 22:39:26 -04:00
Philip Stoev
4a630ce6ad
Galera MTR Tests: A test for xtrabackup with key+cert encryption.
2015-09-09 22:39:26 -04:00
Philip Stoev
edd9bd3ea7
Fixes codership/mysql-wsrep#153 use --defaults-extra-file with mysqldump SST
2015-09-09 22:39:20 -04:00
Philip Stoev
5d531f07bf
Galera MTR Tests: Use SET GLOBAL when setting wsrep_replicate_myisam, as it is a GLOBAL variable in MySQL Galera Cluster and SESSION in Percona XTraDB Cluster
2015-09-09 22:35:48 -04:00
Raghavendra D Prabhu
fbe739cbb1
Bug#1421360: Add 'FLUSH TABLES' to Total Order Isolation execution.
...
Before this, FLUSH TABLES and FLUSH TABLES t1 (REFRESH_TABLES hereafter) were executed locally,
which also had implications for GTID. MySQL async replication does
replicate FLUSH TABLES.
Hence, this commit
a) Adds REFRESH_TABLES to TOI.
b) Skips LOCK-based REFRESH_TABLES from TOI, ie. FLUSH TABLES WITH READ
LOCK and FLUSH TABLES FOR EXPORT.
c) Executes them after reload_acl_and_cache. This is done since
reload_acl_and_cache checks for thd->locked_tables_mode and does upgrade
of MDL locks accordingly. A failure here means REFRESH_TABLES cannot
run.
i) This is also important since LOCK TABLES is not replicated in
galera.
d) Test galera_flush has been modified for
i) wsrep_replicate_myisam SESSION variable.
ii) Testing REFRESH_TABLES.
iii) Testing REFRESH_TABLES + LOCK TABLES.
e) Use different WSREP_TO_ISOLATION_BEGIN for global FLUSH TABLES and FLUSH TABLES <table,>.
2015-09-09 22:33:52 -04:00
Philip Stoev
5a002adb5f
Galera MTR Tests: various tests and test fixes
2015-09-09 22:31:06 -04:00
Philip Stoev
f1a00ed514
Galera MTR Tests: Use wsrep_sst_auth for tests that use xtrabackup + IST
2015-09-09 22:31:05 -04:00
Alexey Yurchenko
2ea16b995d
This commit fixes
...
- errno handling in wsp::env::append() method, where error could be returned by mistake
- return code of sst_prepare_other() when pthread_create() fails - it was returning positive error code which by convention is treated as success.
2015-09-09 22:30:51 -04:00
Alexey Yurchenko
0ccbbffb78
Slight cleanup improvement on a previous commit.
2015-09-09 22:30:51 -04:00
Philip Stoev
bc796c29b3
Refs codership/mysql-wsrep#143 . Account for the case where the SST password is empty
2015-09-09 22:30:50 -04:00
Alexey Yurchenko
86ee30cea9
Refs codership/mysql-wsrep#141 : this commit
...
1. Passes wsrep_sst_auth_value to SST scripts via WSREP_SST_OPT_AUTH envronmental variable, so it never appears on the command line
2. In mysqldump and xtrabackup* SST scripts which rely on MySQL authentication, instead of passing password on the command line, SST script sets MYSQL_PWD environment variable, so that password also never appears on the mysqldump/innobackupex command line.
2015-09-09 22:29:03 -04:00
sjaakola
197e9d2559
Refs codership/mysql-wsrep#132
...
- fix for THD::m_digest initialization, according to Raghu
2015-09-09 22:16:39 -04:00
Philip Stoev
483078b1b1
Fixes codership/QA#87 . An MTR test for SERIALIZABLE
2015-09-09 21:40:07 -04:00
Philip Stoev
4102d5258d
Refs codership/mysql-wsrep#113 - tests around FLUSH TABLE, FLUSH TABLES, LOCK TABLE
2015-09-09 21:38:58 -04:00
sjaakola
2106fed865
Refs codership/mysql-wsrep#113
...
- changed BF thread's MDL wait to never timeout
- all explicit locks are now honored by BF threads
2015-09-09 21:37:17 -04:00
Philip Stoev
f9805e4c98
Galera MTR Tests: tests for WAN restart, xtrabackup options and others.
2015-09-09 21:36:03 -04:00
Alexey Yurchenko
ef7b08978b
Fixes codership/mysql-wsrep#122 - causal/casual typos fixed in wsrep code
2015-09-09 21:35:58 -04:00
Philip Stoev
bace2a9752
Galera MTR Tests: add a test for socket.ssl_compression
2015-09-09 21:33:23 -04:00
Philip Stoev
b5ef2bbc5e
Re-enable tests previously disabled due to mysql-wsrep#114
2015-09-09 21:31:28 -04:00
sjaakola
63c5bee535
Refs codership/mysql-wsrep#113 - Extended the protection of local FLUSH
...
sessions to cover all exclusive MDL locks
2015-09-09 21:31:16 -04:00
Philip Stoev
417f778e53
Galera MTR tests: disable innodb.innodb_stats_* due to mysql-wsrep#114
2015-09-09 21:24:41 -04:00
sjaakola
6bb890c9b6
refs codership/mysql-wsrep#114 - skipping TOI if not using wsrep provider
2015-09-09 21:20:41 -04:00
sjaakola
c66609017b
Refs codership/mysql-wsrep#113
...
Protecting non replicated FLUSH session from brute force aborts
2015-09-09 21:20:34 -04:00
Philip Stoev
045b31c8f4
Test cases for codership/mysql-wsrep/110
2015-09-09 21:04:35 -04:00
Teemu Ollakka
dc9e325407
refs codership/mysql-wsrep#110 - clear table map events on SAVEPOINT
...
Clear binlog table maps before writing SAVEPOINT query event into
binlog cache. This enforces recreation of table map events for the
following row event.
2015-09-09 21:04:28 -04:00
Philip Stoev
d0e24c6799
Galera MTR Tests: Attempt to remove rare sporadic failures in galera_transaction_replay.test by waiting for all transactions to get blocked before proceeding.
2015-09-09 20:56:48 -04:00
Philip Stoev
f8b724db28
Galera MTR Tests: Enable the use of --parallel for port-intensive Galera tests by additionally specifying --port-group-size=50
2015-09-09 20:56:41 -04:00
Philip Stoev
9f716ae9d3
Galera MTR: Disable rpl.rpl_rotate_logs binlog.binlog_index due to codership/mysql-wsrep#71
2015-09-09 20:53:15 -04:00
Nirbhay Choubey
fa5f18d673
Merge branch '5.5-galera' into 10.0-galera
2015-09-09 20:51:39 -04:00
Nirbhay Choubey
37ae601a87
Update WSREP_PATCH_REVNO
2015-09-09 18:54:14 -04:00
Philip Stoev
760b0c4758
Bump WSREP_PATCH_VERSION in cmake/wsrep.cmake to 12
2015-09-09 17:03:53 -04:00
Philip Stoev
bee94cc9f4
Fixes codership/mysql-wsrep#153 use --defaults-extra-file with mysqldump SST
2015-09-09 17:03:32 -04:00
Alexey Yurchenko
55dfddff1d
Fixing donate callback return code
2015-09-09 17:03:32 -04:00
Alexey Yurchenko
0465e3a117
Logging message cleanup
2015-09-09 17:03:32 -04:00
Alexey Yurchenko
d809fcc301
This commit fixes
...
- errno handling in wsp::env::append() method, where error could be returned by mistake
- return code of sst_prepare_other() when pthread_create() fails - it was returning positive error code which by convention is treated as success.
2015-09-09 17:03:31 -04:00
Alexey Yurchenko
1b1410c449
Slight cleanup improvement on a previous commit.
2015-09-09 17:03:31 -04:00
Philip Stoev
62c2539376
Refs codership/mysql-wsrep#143 . Account for the case where the SST password is empty
2015-09-09 17:03:31 -04:00