Feature Request: Support dynamically adjusting the number of transaction connection pools and read-only connection pools #17046
Description
Feature Description
Support dynamically adjusting the number of transaction connection pools and read-only connection pools
like:
--queryserver-config-pool-size
--queryserver-config-transaction-cap
Use Case(s)
Our Vitess cluster has more than 400 vttablets. The deployment method is based on k8s. We mainly use unmanaged mode and the backend is cloud RDS. When we want to adjust --queryserver-config-pool-size or --queryserver-config-transaction -cap, the pod will be rebuilt, causing business errors.
So we hope to be able to dynamically adjust the number of vttablet-level connection pools through vtctldclient.
Why we need to dynamically adjust the number of connection pools is because the total number of connections in our cloud RDS is limited, so the initial number of connection pools in vitess will not be too high.