Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
75707: rfcs: sqlproxy connection migration r=JeffSwenson a=jaylim-crl _[RFC Text](https://github.com/cockroachdb/cockroach/blob/edb29eb5da9b9dd85f2c8f8f4b0c174d96635e26/docs/RFCS/20220129_sqlproxy_connection_migration.md)_ This proposal describes the connection migration mechanism within the SQL Proxy that allows us to migrate SQL connections from one SQL pod to another by building on top of the session migration work by the SQL Experience team. This RFC is only scoped to _how_ to perform the migration from one SQL pod to another within the SQL proxy. The details of _when_ to perform the migration will be discussed in a follow-up RFC. Note that the main use-case here is for CockroachDB Serverless, and we should optimize for that. What this will eventually solve: - rude disconnects during Serverless scale-down events - load imbalance during steady state and Serverless scale-up events From the user's perspective, the connection should remain usable without interruption, and there will be better resource utilization across all provisioned SQL pods. This RFC has already received some reviews in an earlier form of an internal Google Doc, [Proxy Connection Migration](https://docs.google.com/document/d/1pOl4lLOmEdSLkklCdqzksRGqvQ5galAAXrvTu61SfRc/edit). Release justification: RFC/docs only change. Release note: None Co-authored-by: Jay <[email protected]>
- Loading branch information