-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccl/sqlproxyccl: add partial connection migration support to the forw…
…arder Informs #76000. This commit adds connection migration support (without session deserialization) to the forwarder within sqlproxy. The idea is as described in the RFC. The session deserialization part will come in a follow-up PR. One item that was overlooked is that connections that were obtained through token-based authentication will still send back the initial connection data (e.g. AuthenticationOk and ParameterStatus messages). To address that, we added a new slurpInitialConnData function which will be used by the connector when opening such a connection to slurp all unused messages. This ensures that connections returned by connector.OpenTenantConnWithToken are ready to accept queries. Release note: None
- Loading branch information
1 parent
bc8cbe6
commit 87b8ea5
Showing
10 changed files
with
2,350 additions
and
49 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
Oops, something went wrong.