sql: add query cache collision testing #104027
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
O-postmortem
Originated from a Postmortem action item.
P-3
Issues/test failures with no fix SLA
quality-friday
A good issue to work on on Quality Friday
T-sql-queries
SQL Queries Team
We currently have limited testing for the case when the same SQL is run concurrently by different users / on different databases against the same query cache. More testing for this case could have caught #102375. Our logic tests already allow switching the user and db session with the
user
directive. We should add some tests that repeatedly run the same SQL on similar schemas from different users to verify that the query cache is correctly invalidated in the case when it is thrashing. We may also want to add support for similar testing in our randomized tests.Jira issue: CRDB-28320
The text was updated successfully, but these errors were encountered: