Commit graph

244 commits

Author SHA1 Message Date
Philip Stoev
d794f05910 Galera MTR Tests: stability fix for galera_gcs_fragment.test (TCP port was output to the .result file) 2016-02-22 17:48:13 -05:00
Daniele Sciascia
ace86a2375 refs codership/mysql-wsrep#201
- Fixes query cache so that it is aware of wsrep_sync_wait.
  Query cache would return (possibly stale) results to the
  client, regardless of the value of wsrep_sync_wait.
- Includes the test case that reproduced the issue.
2016-02-22 17:46:22 -05:00
Teemu Ollakka
5ad30e8ad1 MTR test for checking correctness of fragmentation over CCs 2016-02-22 16:46:29 -05:00
Daniele Sciascia
c0dac420e5 refs codership/mysql-wsrep#31
- Removes useless call to wsrep_xid_init() in wsrep_apply_events().
  Transaction's xid is already initialized at that point.
- Adds call to wsrep_set_SE_checkpoint() for committing TOI events
  in the applier side.
- Includes test case that reproduced the issue.
2016-02-22 16:21:04 -05:00
Philip Stoev
7ce84cf764 Galera MTR Tests: stability fixes
Conflicts:
	mysql-test/include/mtr_check.sql
	mysql-test/suite/galera/r/galera_log_bin.result
	mysql-test/suite/galera/t/galera_log_bin.test
2016-02-22 14:43:35 -05:00
Teemu Ollakka
d01328d73b Helpers to deal with galera dbug sync points. 2016-02-22 12:58:02 -05:00
Nirbhay Choubey
17b5cb6172 codership/mysql-wsrep#247: Fix test case 2016-02-17 22:56:38 -05:00
Philip Stoev
a6d93b20d7 Galera MTR Tests: MW-246 codership/mysql-wsrep#247 Stability fix for galera.mysql-wsrep#247.test 2016-02-17 16:05:11 -05:00
Philip Stoev
2438afbfde Galera MTR tests: MW-246 codership/mysql-wsrep#247 Additional tests around RSU and wsrep_desync 2016-02-17 16:04:06 -05:00
sjaakola
13627d49a9 refs MW-246
- created mtr test for testing explicit desyncing with RSU mode DDL
2016-02-17 16:03:40 -05:00
Nirbhay Choubey
02259623b9 Update global_suppressions for galera suite to include new warning. 2016-02-16 17:14:11 -05:00
Daniele Sciascia
bd1d2b90a7 refs codership/mysql-wsrep#201
Removes MTR tests.
2016-02-10 17:42:42 -05:00
Daniele Sciascia
0c7dffe9e1 refs codership/mysql-wsrep#201
- Eliminates code duplication in query cache patch
- Reduces the number of iterations in mysql-wsrep#201.test
  to shorten the execution time
- Adds a new test case that exercises more scenarios
2016-02-09 21:52:42 -05:00
Daniele Sciascia
8a71fde01f refs codership/mysql-wsrep#201
- Fixes query cache so that it is aware of wsrep_sync_wait.
  Query cache would return (possibly stale) results to the
  client, regardless of the value of wsrep_sync_wait.
- Includes the test case that reproduced the issue.
2016-02-09 21:28:54 -05:00
Sergei Golubchik
7697bf0bd7 Merge branch 'github/10.0-galera' into 10.1
Note: some tests fail, just as they failed before the merge!
2015-12-22 10:32:33 +01:00
Nirbhay Choubey
8dfd157bb2 Merge branch '5.5-galera' into 10.0-galera 2015-12-19 19:19:32 -05:00
Nirbhay Choubey
58b54b7d1a MDEV-9044 : Binlog corruption in Galera
While refreshing the IO_CACHE, do not update its parameters (read_pos,
read_end & pos_in_file) if there is nothing left to read.
2015-12-18 14:35:56 -05:00
Nirbhay Choubey
3f515a09ff MDEV-9290 : InnoDB: Assertion failure in file trx0sys.cc line 353
As a fix for MDEV-8208, for initial wsrep threads, the
invocation of init_for_queries() was moved after plugins
were initialized. Due to which, OPTION_BEGIN bit of wsrep
applier THD (originally set in wsrep_replication_process)
got reset due to implicit commit within init_for_queries().
As a result, events from a multi-statement transaction from
another node were committed separately by the applier thread,
which leads to an assertion as they all carry same seqno.

Fixed by making sure that variable.option_bits are restored
post init_for_queries(). Also restored server_status.
Added a test case.
2015-12-16 20:07:12 -05:00
Monty
44b107da90 Fixed a bug in galera + some failing galera tests
- Added missning setting of table->rpl_write_set in record_gtid(), required by galera
- Removed output of WSREP_PATCH_VERSION from galera_defaults, as this can change over time
- Limit galera_many_tables_pk and galera_many_tables_nopk to 900, as
  on many systems the default open table limit is 1024
2015-12-10 12:39:54 +02:00
Nirbhay Choubey
b88c67d5f2 Update galera suite global_suppressions. 2015-11-24 14:24:23 -05:00
Nirbhay Choubey
75afa93eb1 Fix galera.galera_as_slave_nonprim test. 2015-11-20 12:32:31 -05:00
Sergei Golubchik
7f19330c59 Merge branch 'github/10.0-galera' into 10.1 2015-11-19 17:48:36 +01:00
Nirbhay Choubey
dcb7996cb7 Fix/disable failing tests. 2015-11-15 17:24:47 -05:00
Nirbhay Choubey
e947a52697 Update global_suppressions. 2015-11-04 21:58:07 -05:00
Nirbhay Choubey
278ff1661a Add warnings to galera test suppression list. 2015-10-15 05:47:06 -04:00
Nirbhay Choubey
8d2d947ac1 Fix galera_var_dirty_reads test. 2015-10-13 15:42:53 -04:00
Nirbhay Choubey
38f3b99d46 MDEV-8831 : enforce_storage_engine doesn't block table creation on other nodes
Check if the engine is supported/allowed before replicating the
statement.
2015-10-01 20:36:25 -04:00
Nirbhay Choubey
bca5894d51 Adjust warning suppression over a recent change in galera library. 2015-09-27 19:20:43 -04:00
Nirbhay Choubey
4d33f9dca0 Merge branch '5.5-galera' into 10.0-galera 2015-09-25 14:57:56 -04:00
Nirbhay Choubey
d54bc3c0d1 Cleanup: remove dead code which could also lead to race. 2015-09-21 20:49:31 -04:00
Nirbhay Choubey
a401c11c4e Fix failing test cases
* Also modified name regex to include '#' as a valid symbol for
tests under disabled.def.
2015-09-14 15:26:50 -04:00
Nirbhay Choubey
ceac34404b lp:1372840 - test case 2015-09-10 09:57:08 -04:00
Philip Stoev
f9510717a4 Galera MTR Tests: fix typo in the galera_as_slave_nonprim test, in suite/galera/galera_3nodes_as_slave.cnf 2015-09-10 00:26:41 -04:00
Philip Stoev
b3ec0a8589 Galera MTR Tests: a test for async slave + non-prim 2015-09-10 00:26:40 -04:00
Philip Stoev
c915d8caa6 Galera MTR Tests: attempt to work around codership/mysql-wsrep#179 2015-09-09 23:08:02 -04:00
Philip Stoev
371dc336ea refs codership/mysql-wsrep#90 MTR test case for mysql-wsrep#90 2015-09-09 23:04:43 -04:00
Philip Stoev
e5b595e9d1 Galera MTR Tests: fix typo in suite/galera/galera_2nodes_as_slave.cnf 2015-09-09 23:00:14 -04:00
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
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