sql: ensure pausable portals compatible with prepared_statements_cache_size #99959
Labels
A-pausable-portals
Issues related to multiple active portals
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
In #98917 we introduced
prepared_statements_cache_size
, which automatically deallocate LRU prepared statements. In #99663 we (will) introduce pausable portals, which enable executing prepared stmts in an interleaving manner. We need to sort out the expected interaction of both features.There're several options:
prepared_statements_cache_size
if there're any active portals, or if the session varmultiple_active_portals_enabled
has been set to true. And vice versa.Jira issue: CRDB-26158
Epic CRDB-25183
The text was updated successfully, but these errors were encountered: