mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
codership/mysql-wsrep#67 - total order isolation for FLUSH
The following FLUSH commands are now executed under total order isolation: * FLUSH DES_KEY_FILE * FLUSH HOSTS * FLUSH PRIVILEGES * FLUSH QUERY CACHE * FLUSH STATUS * FLUSH USER_RESOURCES
This commit is contained in:
committed by
Nirbhay Choubey
parent
0fdfca6937
commit
f5bce5a600
@ -4648,6 +4648,21 @@ end_with_restore_list:
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (lex->type & (
|
||||
REFRESH_GRANT |
|
||||
REFRESH_HOSTS |
|
||||
REFRESH_DES_KEY_FILE |
|
||||
#ifdef HAVE_QUERY_CACHE
|
||||
REFRESH_QUERY_CACHE_FREE |
|
||||
#endif /* HAVE_QUERY_CACHE */
|
||||
REFRESH_STATUS |
|
||||
REFRESH_USER_RESOURCES))
|
||||
{
|
||||
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
|
||||
}
|
||||
#endif /* WITH_WSREP*/
|
||||
|
||||
/*
|
||||
reload_acl_and_cache() will tell us if we are allowed to write to the
|
||||
binlog or not.
|
||||
|
Reference in New Issue
Block a user