cockroachdb / cockroachdb/cockroach
sql: support distsql for multiple active portals
Open
A-pausable-portals
C-bug
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In https://github.com/cockroachdb/cockroach/pull/99663 we implemented a limited version of multiple active portals, where all read-only select stmts are run with a local only plan. This is because the receiver-consumer model for a distributed plan is more complicated to add a `paused` state (See more in `Start with an entirely local plan` section in the [design doc](https://docs.google.com/document/d/1SpKTrTqc4AlGWBqBNgmyXfTweUUsrlqIaSkmaXpznA8/edit)). We should enable the distsql mode as a follow-up.
Jira issue: CRDB-26642
Epic CRDB-25183
Contributor guide
Assessment
This issue has not been assessed yet.