sql: query timeout determination is inconsistent with PG when portals are involved #99140
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)
I ran the following tests against cockroach and postgres, and the timeout seems to happen at different timestamps.
So we have a portal whose each execution lasts for 0.5 second. We set the statement timeout to be 2s. For PG, the timeout error shows up at the 5th execution, but cockroach gives the timeout at the 4th execution.
Jira issue: CRDB-25723
Epic CRDB-25183
The text was updated successfully, but these errors were encountered: