replicate FLUSH QUERY CACHE command
Bug #1359801 reported by
Seppo Jaakola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Wishlist
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Won't Fix
|
Medium
|
Unassigned | |||
5.6 |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
wsrep cluster supports query cache (QC) currently. However, the cache will be node local, each node maintains his own cache.
If application is using QC, there may be need to flush/freset the cache at some point.
Therefore the commands: FLUSH QUERY CACHE and RESET QUERY CACHE should be replicated to the cluster, to make sure that no old cached results will be returned to clients.
This can be implemented as TOI operation, although less synchronous implementation would be fine for this purpose as well.
Changed in codership-mysql: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
"RESET" commands for some reason are never written to the binary log : >no_write_ to_binlog= 1;
..
case SQLCOM_RESET:
/*
RESET commands are never written to the binary log, so we have to
initialize this variable because RESET shares the same code as FLUSH
*/
lex-
/* fallthrough */
case SQLCOM_FLUSH:
..