Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapter: Make
SHOW CACHES
persistent
Previously, `SHOW CACHES` used the query status cache as its source of truth. This meant that after a restart, `SHOW CACHES` would not reflect any caches that existed on the server until after the adapter received a query against that cache. This commit has `SHOW CACHES` use the expression registry as its source of truth, which is what `EXPLAIN CACHES` uses. This enables the adapter to display an accurate, up-to-date list of caches via `SHOW CACHES`, even after a restart. Refs: REA-3516, REA-3349 Release-Note-Core: Added the ability for the `SHOW CACHES` SQL extension to display an up-to-date list of caches, even after a restart Change-Id: I822dd2cc1f061eb4ae22c9e0bc13534eb9c142be Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6546 Tested-by: Buildkite CI Reviewed-by: Luke Osborne <luke@readyset.io>
- Loading branch information
1 parent
23f8d31
commit dc16282
Showing
7 changed files
with
82 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters