You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improvements
Add a config enabled to each balance factor to disable the factor #1220
Add a config migrations-per-second for each balance factor to tune the session migration speed #1038
Add a config balance.count-count.count-ratio-threshold to specify the max connection count ratio between backends #1046
Add configs balance.cpu.min-balance-usage and balance.cpu.max-usage-gap to tune the CPU-based balance #1228
Add a config balance.routing-policy to specify the routing policy #1036#1037
Add configs proxy.fail-backend-list and proxy.failover-timeout to support evicting backends #1133
Output heap and goroutine profiles when memory usage is over 60% #1138
Reject connections, report unhealthy on the status API, and switch VIP when the memory usage is over proxy.high-memory-usage-reject-threshold#1136#1214#1216
Reduce the TLS buffer size to reduce memory usage #1142
Avoid incorrect OOM risk detection during TiDB bootstrap #1168
Return an error on COM_PING during graceful shutdown so that connection pools can detect that the instance is draining #1232
Add metrics on QPS distribution since connection creation and connection lifetime #1043#1237
Bug Fixes
Fix VIP failover may leave upstream devices forwarding to the old VIP owner #1146
Fix TiDB CPU imbalance when balance.policy="resource" due to connection object leak #1174
Fix TiDB CPU imbalance when balance.policy="resource" due to stale DNS names after TiDB restart #1180#1187
Fix the health-based balance is incompatible with the latest TiDB #1145
Fix connection error when TiProxy is dual-stack listening and the proxy protocol is enabled #1058