- 23 Feb, 2016 20 commits
-
-
Philip Stoev authored
-
Nirbhay Choubey authored
-
sjaakola authored
- test for FLUSH TABLES hang in slave node
-
sjaakola authored
- avoiding the race condition, by not grabbing thd->LOCK_wsrep_thd for accessing thd->wsrep_exec_mode. The caller is same thread and exec mode can only be changed by self.
-
sjaakola authored
- added mtr test case for this issue - not a perfect one, depends on some sleeps instead of checking if sync points are met
-
Nirbhay Choubey authored
-
sjaakola authored
- added dbug sync points for further mtr test for this issue
-
Philip Stoev authored
-
Daniele Sciascia authored
- Add calls to wsrep_sync_wait for SHOW CREATE DB/PROCEDURE/FUNCTION/TRIGGER/EVENT and SHOW PROCEDURE/FUNCTION CODE
-
Philip Stoev authored
-
Philip Stoev authored
Galera MTR Tests: adjust the galera.galera_defaults test for the new MTR default value for repl.causal_read_timeout
-
Philip Stoev authored
-
Daniele Sciascia authored
Fix remaining issues with wsrep_sync_wait and query cache. - Fixes misplaced call to invalidate query cache in Rows_log_event::do_apply_event(). Query cache was invalidated too early, and allowed old entries to be inserted to the cache. - Reset thd->wsrep_sync_wait_gtid on query cache hit. THD->cleanup_after_query is not called in such cases, and thd->wsrep_sync_wait_gtid remained initialized.
-
Nirbhay Choubey authored
-
Philip Stoev authored
-
Nirbhay Choubey authored
Restore tests for FLUSH commands supported by MariaDB.
-
Teemu Ollakka authored
* Total order isolation was started twice for FLUSH TABLES, from reload_acl_and_cache() and from mysql_execute_command(). Removed the reload_acl_and_cache() part. * Removed PXC specific stuff from MTR tests
-
Daniele Sciascia authored
- 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
-
Nirbhay Choubey authored
- Restore FLUSH commands supported by MariaDB (removed in the previous commit) - Adjust test case
-
Nirbhay Choubey authored
-
- 22 Feb, 2016 20 commits
-
-
Teemu Ollakka authored
-
Raghavendra D Prabhu authored
Added following: FLUSH CLIENT_STATISTICS FLUSH INDEX_STATISTICS FLUSH TABLE_STATISTICS FLUSH THREAD_STATISTICS FLUSH USER_STATISTICS pertaining to USER STATISTICS https://www.percona.com/doc/percona-server/5.6/diagnostics/user_stats.html FLUSH CHANGED_PAGE_BITMAPS pertaining to changed page tracking. https://www.percona.com/doc/percona-server/5.6/management/changed_page_tracking.html Also, added tests for them. (cherry picked from commit 7efe49010c7f217663f364657090812b4723f426) Conflicts: mysql-test/suite/galera/r/galera_flush.result mysql-test/suite/galera/r/galera_flush_gtid.result mysql-test/suite/galera/t/galera_flush.test sql/sql_parse.cc
-
Raghavendra D Prabhu authored
The admin commands in question are: > OPTIMIZE > REPAIR > ANALYZE For LOCAL or NO_WRITE_TO_BINLOG invocations of these commands, ie OPTIMIZE LOCAL TABLE <t1> they are not binlogged as expected. Also, in addition, they are not executed under TOI. Hence, they are not propagated to other nodes. The effect is same as that of wsrep_on=0. Also added tests for this. A WSREP_DEBUG for wsrep_register_hton has also been added. The galera_flush_local test has also been updated for verifying that effects of NO_WRITE_TO_BINLOG / LOCAL are equivalent to wsrep_on=0 from wsrep perspective. (cherry picked from commit 5065122f94a8002d4da231528a46f8d9ddbffdc2) Conflicts: sql/sql_admin.cc sql/sql_reload.cc sql/wsrep_hton.cc
-
Philip Stoev authored
-
Philip Stoev authored
Galera MTR Tests: stability fix for galera_gcs_fragment.test (TCP port was output to the .result file)
-
Daniele Sciascia authored
- 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.
-
Nirbhay Choubey authored
Merge fix to XtraDB engine.
-
Daniele Sciascia authored
- Adds runtime check wsrep_on(), to not interfere with default innodb behavior.
-
Teemu Ollakka authored
-
Daniele Sciascia authored
- Avoid calling wsrep->stats_free() directly, instead, use wsrep_free_status().
-
Daniele Sciascia authored
- Moves cleanup of status vars to function export_wsrep_status_to_mysql().
-
Nirbhay Choubey authored
Merge fix to XtraDB engine.
-
Daniele Sciascia authored
Fixes a deadlock between applier and its victim transaction. The deadlock would manifest when a BF victim was waiting for some lock and was signaled to rollback, and the same time its wait timeout expired. In such cases the victim would return from lock_wait_suspend_thread() with error DB_LOCK_WAIT_TIMEOUT, as opposed to DB_DEADLOCK. As a result only the last statement of the victim would rollback, and eventually it would deadlock with the applier.
-
Daniele Sciascia authored
- Erronously removed call to wsrep_xid_init() in previous commit.
-
Daniele Sciascia authored
- 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.
-
Daniele Sciascia authored
- Moves call wsrep_free_status() to THD::cleanup_after_query(). Wsrep status variables were previously freed only on SHOW STATUS. - Removes valgrind suppression from mysql-test/valgrind.
-
Teemu Ollakka authored
Added schema info to wsrep messages above debug level.
-
Philip Stoev authored
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
-
Teemu Ollakka authored
-
Teemu Ollakka authored
-