[MDEV-27047] replication does not remove affected queries from query cache Created: 2021-11-15 Updated: 2022-05-03 Resolved: 2021-11-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Query Cache, Replication |
| Affects Version/s: | 10.5.13, 10.6.5 |
| Fix Version/s: | 10.5.14, 10.6.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Joerg Michels | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
CentOS 8 |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Since the upgrade to MariaDB 10.5.13 we are facing the problem where replication no longer removes affected queries from the query cache. We have this problem on at least two independent systems. How to reproduce On replication master: On slave:
On master: On slave:
> select SQL_NO_CACHE * from test;
with kind regards, Joerg |
| Comments |
| Comment by Alice Sherepa [ 2021-11-15 ] | |||||||||||||||||||||||||||||
|
could you please add your .cnf file(s). I tried to repeat it, but failed | |||||||||||||||||||||||||||||
| Comment by Joerg Michels [ 2021-11-15 ] | |||||||||||||||||||||||||||||
|
db01.cnf is from master | |||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2021-11-15 ] | |||||||||||||||||||||||||||||
|
Thank you!
| |||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-15 ] | |||||||||||||||||||||||||||||
|
caused by merge 5f8561a6bc, in particular:
which reverted the condition in if(). And also disabled query cache invalidation when WSREP is not compiled in. |