-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip SQL cache in cache recompilation (#8338)
A complete SQL compilation requires a backend connection to amend the in/out tids. We recompiled wrong SQL cache with out_type_tid=000...000, so this commit temporarily discards SQL cache after DDL to avoid such issue. Also fixed so that compiling SQL over binary protocol bumps the `sql_compilations_total` metrics instead of `edgeql_query_compilations_total`.
- Loading branch information
Showing
2 changed files
with
55 additions
and
8 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