Nirbhay Choubey
75ab65aece
Fix failing galera tests.
2016-12-20 15:31:18 -05:00
Sachin Setiya
0c79de2419
MDEV-11479 Improved wsrep_dirty_reads
...
Tasks:-
Changes in wsrep_dirty_reads variable
1.) Global + Session scope (Current: session-only)
2.) Can be set using command line.
3.) Allow all commands that do not change data (besides SELECT)
4.) Allow prepared Statements that do not change data
5.) Works with wsrep_sync_wait enabled
2016-12-14 09:30:43 +05:30
Sachin Setiya
25a9a3da34
Revert "MDEV-11016 wsrep_node_is_ready() check is too strict"
...
This reverts commit 7ed5563bbe
.
2016-12-14 08:39:36 +05:30
SachinSetiya
ee3c99dfc7
Merge branch 'bb-mdev-11016' into 10.1
2016-11-22 16:17:05 +05:30
Nirbhay Choubey
cbfb3f9cb1
Move disabled galera tests to galera/disabled.def
2016-11-03 19:30:02 -04:00
Nirbhay Choubey
54d3dc0e93
Fix/disable some failing galera tests.
2016-11-02 09:48:20 -04:00
Nirbhay Choubey
7a170205e0
MDEV-11152: wsrep_replicate_myisam: SELECT gets replicated using TO
...
Fixed the 'wsrep_replicate_myisam' check to allow only limited
set of commands. Added a debug assert to discover such cases.
2016-11-02 09:45:43 -04:00
Sergei Golubchik
a98c85bb50
Merge branch '10.0-galera' into 10.1
2016-11-02 13:44:07 +01:00
Nirbhay Choubey
7196691b44
Fix/disable some failing galera tests.
2016-11-01 17:20:12 -04:00
SachinSetiya
7ed5563bbe
MDEV-11016 wsrep_node_is_ready() check is too strict
...
Problem:-
The condition that checks for node readiness is too strict as it does
not allow SELECTs even if these selects do not access any tables.
For example,if we run
SELECT 1;
OR
SELECT @@max_allowed_packet;
Solution:-
We need not to report this error when all_tables(lex->query_tables)
is NULL:
2016-10-28 23:15:48 +05:30
Nirbhay Choubey
7c525ce36b
MDEV-9312: storage engine not enforced during galera cluster replication
...
Perform a post initialization of plugin-related variables
of wsrep threads after their global counterparts have been
initialized.
2016-09-28 13:26:13 -04:00
Sergei Golubchik
a66092f2eb
Merge branch 'bb-10.1-serg' into 10.1
2016-08-26 10:12:47 +02:00
Nirbhay Choubey
3575618237
Post merge fixes.
2016-08-25 21:28:26 -04:00
Nirbhay Choubey
90266e8a0e
Merge branch '10.0-galera' into bb-10.1-serg
2016-08-25 15:39:39 -04:00
Nirbhay Choubey
8b09db8bfb
Fixes/improvements in galera test suite
2016-08-24 17:13:20 -04:00
Nirbhay Choubey
1b7c5dedf7
MDEV-10566: Create role statement replicated inconsistently in Galera Cluster
...
In galera cluster, the definer (and thus binlog invoker) must be set
for CREATE ROLE before Query_log_event is created during TOI on the
originating node.
2016-08-24 15:32:48 -04:00
Nirbhay Choubey
2024cddaa4
MDEV-10518: Large wsrep_gtid_domain_id may break IST
...
wsrep_gtid_domain_id was incorrectly being parsed and stored
as a signed long number on the joiner node.
2016-08-22 21:27:20 -04:00
Nirbhay Choubey
3f481e52e4
Fixes for failing tests (post-merge).
2016-08-21 20:09:05 -04:00
Philip Stoev
f01a16b541
Galera MTR Tests: fortify galera_bf_abort_flush_for_export against sporadic failures.
2016-08-21 16:20:07 -04:00
Philip Stoev
30c6ac3cd1
Galera MTR Tests: Attempt to fortify galera_kill_ddl.test against sporadic failures
2016-08-21 16:20:07 -04:00
Philip Stoev
0656453135
Galera MTR Tests: increase timeouts and adjust some sporadically-failing tests so that the Galera suites can be run with --parallel=4
2016-08-21 16:17:18 -04:00
Philip Stoev
85b9718b22
Galera MTR Tests: Test case for galera#414 - crash on shutdown with gcs.max_packet_size=2
2016-08-21 16:17:18 -04:00
Daniele Sciascia
dfa9012abb
MW-285 MTR test case for broken foreign key constraints
2016-08-21 16:17:16 -04:00
Daniele Sciascia
88a1592b0a
MW-286 Avoid spurious deadlock errors when wsrep_on is disabled
...
If a conflict happens under wsrep_on, the THD's wsrep_conflict_state
is typically set to MUST_ABORT and cleared later, when transaction is
aborted. However, when wsrep_on is disabled, no check is performed to
see whether wsrep_conflict_state is set. So this potentially creates
spurious deadlock errors on the subsequent statement that runs with
wsrep_on enabled.
To avoid this problem wsrep_thd_set_conflict_state() sets the conflict
state only if wsrep_on is enabled.
2016-08-21 16:17:15 -04:00
Philip Stoev
5609020c71
Galera MTR Tests: fortify galera_parallel_simple.test against sporadic failures
2016-08-21 16:17:14 -04:00
Philip Stoev
1cb01fe7d2
Galera MTR Tests: Fortify galera_restart_nochanges.test against sporadic failures due to node not being ready immediately after restart
2016-08-21 16:17:13 -04:00
Philip Stoev
137af55ca1
Galera MTR Tests: stability fixes
2016-08-21 16:17:12 -04:00
Nirbhay Choubey
81174c9ab1
Fix galera/MW-44 test post-merge.
2016-08-21 16:17:11 -04:00
Philip Stoev
182787f39e
Galera MTR Tests: Adjust galera_log_output_csv.test to account for the fix for MW-44
2016-08-21 16:17:11 -04:00
Philip Stoev
675bcf3b6d
Galera MTR Tests: A test for MW-44 - Disable general log for applier threads
2016-08-21 16:17:11 -04:00
Nirbhay Choubey
3f22e743c5
Fix galera/GAL-382 test post-merge.
2016-08-21 16:17:10 -04:00
Philip Stoev
9b42f09902
Galera MTR Tests: Add test for GAL-382, codership/galera#382 - InnoDB: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno in trx0sys.cc line 356
2016-08-21 16:17:09 -04:00
Philip Stoev
fce9217c21
Galera MTR Test: Fix for MW-258.test - do not use SHOW PROCESSLIST
2016-08-21 16:17:09 -04:00
Philip Stoev
dda114461e
Galera MTR Tests: Fixed tests to account for GAL-391 , GAL-374
2016-08-21 16:17:08 -04:00
Alexey Yurchenko
d45b58263d
MW-259 - moved wsrep desync/resync calls from wsrep_desync_update() to wsrep_desync_check() method which does not hold the lock and is arguably a more fitting place to change provider state - before changing the actual variable value.
2016-08-21 16:17:08 -04:00
Nirbhay Choubey
4582a4bccf
Fix galera_ist_recv_bind.test.
2016-08-21 16:17:07 -04:00
Alexey Yurchenko
90d92d2b49
MW-258 - RSU DDL should not rely on the global wsrep_desync variable value and should always try to desync on its own.
2016-08-21 16:17:07 -04:00
Philip Stoev
a00f4b29b5
Refs codership/galera#105 An MTR test for ist.recv_bind
2016-08-21 16:17:06 -04:00
Nirbhay Choubey
b758e9238a
Fix galera_transaction_replay.test.
2016-08-21 16:17:06 -04:00
sjaakola
4e4ad17163
Refs MW-255
...
- popping PS reprepare observer before BF aborted PS replaying begins
dangling observer will cause failure in open_table() ater on
- test case for this anomaly
2016-08-21 16:17:05 -04:00
Nirbhay Choubey
8b998a48cc
Update galera version-dependent tests.
2016-08-21 16:17:04 -04:00
Nirbhay Choubey
65cf1d354a
Refs: MW-252 Test fix post-merge
2016-08-21 16:17:04 -04:00
Philip Stoev
fe6ebb657e
Refs: MW-252 MTR tests for FTWRL and desync
2016-08-21 16:17:03 -04:00
sjaakola
ae0fec9c36
refs: MW-248
...
- removed the off topic mtr test
2016-08-21 16:17:00 -04:00
sjaakola
5edf55be63
Refs: MW-248
...
- fixed the test case and extended with autoinc modification is master side
2016-08-21 16:16:59 -04:00
sjaakola
df96eb5d04
Refs: MW-248
...
- test cases from PXC for reproducing the issue
- initial fix
2016-08-21 16:16:59 -04:00
Nirbhay Choubey
963673e7af
MW-292: Fix test case
2016-07-25 21:52:02 -04:00
Philip Stoev
e57287866f
Galera MTR Tests: Test case for MW-292 : NOW() returns stale timestamp after transaction replay
2016-07-25 21:38:09 -04:00
Daniele Sciascia
74f80b3499
MW-267 Enforce wsrep_max_ws_size limit in wsrep provider
...
This changes variable wsrep_max_ws_size so that its value
is linked to the value of provider option repl.max_ws_size.
That is, changing the value of variable wsrep_max_ws_size
will change the value of provider option repl.max_ws_size,
and viceversa.
The writeset size limit is always enforced in the provider,
regardless of which option is used.
2016-07-25 11:44:57 -04:00
Daniele Sciascia
5197fcf6b4
MW-269 Fix outstanding issues with wsrep_max_ws_rows
...
This patch includes two fixes:
1) Rollback when wsrep_max_ws_rows is exceeded would not switch
back to previous autocommit mode; and 2) Internal rows counter
would not be reset on implicit commits.
2016-07-25 11:24:23 -04:00