1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Files
mariadb/sql
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
..
2014-03-28 09:31:43 +02:00
2014-03-28 09:31:43 +02:00
2014-01-06 10:52:35 +05:30
2013-07-02 20:43:35 +03:00
2013-07-21 16:39:19 +02:00
2014-03-16 13:59:44 +01:00
2014-03-16 13:59:44 +01:00
2014-03-16 21:03:01 +01:00
2015-05-05 15:23:47 +02:00
2014-02-26 15:28:07 +01:00
2015-02-20 17:29:03 -05:00
2014-03-16 13:59:44 +01:00
2014-03-19 09:58:06 +01:00
2014-03-16 21:03:01 +01:00
2014-02-26 15:28:07 +01:00
2014-03-16 21:03:01 +01:00
2014-05-21 11:59:33 -04:00
2013-06-27 12:51:34 +03:00
2015-01-21 12:03:02 +01:00
2015-02-18 15:16:27 +01:00
2015-05-04 22:00:24 +02:00
2015-06-11 20:20:35 +02:00
2015-05-04 22:00:24 +02:00
2014-02-26 15:28:07 +01:00
2015-08-05 09:45:17 +02:00
2015-01-21 12:03:02 +01:00
2014-11-19 17:23:39 +01:00
2014-03-23 15:15:07 +04:00
2015-08-03 23:09:43 +03:00
2015-08-03 23:09:43 +03:00
2014-02-26 15:28:07 +01:00
2014-01-06 10:52:35 +05:30
2015-05-04 22:00:24 +02:00
2015-01-26 22:54:27 -05:00
2014-03-16 21:03:01 +01:00
2015-01-21 12:03:02 +01:00
2015-06-11 20:20:35 +02:00
2015-09-09 21:37:17 -04:00
2015-06-02 22:07:47 +02:00
2015-06-02 22:07:47 +02:00
2014-11-19 17:23:39 +01:00
2014-10-29 15:20:46 +03:00
2013-10-16 13:38:42 +04:00
2014-03-16 21:03:01 +01:00
2013-07-21 16:39:19 +02:00
2015-01-21 12:03:02 +01:00
2014-08-07 18:06:56 +02:00
2015-05-04 22:00:24 +02:00
2015-05-04 22:00:24 +02:00
2014-03-15 18:24:15 +01:00
2014-02-26 15:28:07 +01:00
2014-03-16 21:03:01 +01:00
2014-05-09 12:35:11 +02:00
2014-08-07 18:06:56 +02:00
2014-03-16 13:59:44 +01:00
2014-08-07 18:06:56 +02:00
2014-03-15 18:24:15 +01:00
2014-03-16 21:03:01 +01:00
2014-02-25 16:04:35 +01:00
2015-06-24 16:53:41 +02:00
2014-08-07 18:06:56 +02:00
2014-03-16 21:03:01 +01:00
2014-03-15 18:24:15 +01:00
2015-05-05 15:23:47 +02:00
2014-03-16 13:59:44 +01:00
2014-11-19 17:23:39 +01:00
2014-03-16 21:03:01 +01:00
2014-02-26 15:28:07 +01:00
2014-03-16 21:03:01 +01:00
2014-03-13 16:43:11 +02:00
2014-03-16 21:03:01 +01:00
2014-10-09 10:30:11 +02:00
2013-08-12 14:17:51 +02:00
2013-10-29 15:08:44 +01:00
2015-02-18 15:16:27 +01:00
2015-05-04 22:00:24 +02:00
2015-05-05 15:23:47 +02:00
2015-05-05 15:23:47 +02:00
2014-06-06 00:07:27 +02:00
2013-10-17 17:50:30 +04:00
2013-10-18 12:36:03 -07:00
2014-09-16 14:03:17 +02:00
2014-06-10 10:34:58 -07:00
2014-02-22 22:51:20 +01:00
2015-01-26 22:54:27 -05:00
2013-11-11 23:40:53 +02:00
2014-10-09 10:30:11 +02:00
2014-03-15 18:24:15 +01:00
2013-04-09 16:07:35 +02:00
2014-02-10 15:12:17 +01:00
2015-06-11 20:20:35 +02:00
2013-02-25 15:26:00 +01:00
2014-03-16 21:03:01 +01:00
2014-03-27 22:26:58 +01:00
2014-11-19 17:23:39 +01:00
2014-08-07 18:06:56 +02:00
2014-06-06 00:07:27 +02:00
2015-06-11 20:20:35 +02:00
2015-05-04 22:00:24 +02:00
2014-02-26 15:28:07 +01:00
2015-03-06 18:41:32 +01:00
2015-06-11 20:20:35 +02:00
2014-01-06 10:52:35 +05:30
2015-05-04 22:00:24 +02:00
2015-06-02 22:07:47 +02:00
2015-05-08 17:41:06 -04:00
2015-05-08 17:41:06 -04:00
2015-09-09 22:16:39 -04:00
2015-09-09 22:30:51 -04:00
2015-09-09 17:03:31 -04:00
2014-08-12 18:23:53 -04:00
2015-05-08 17:41:06 -04:00
2015-05-08 17:41:06 -04:00