Releases: pingcap/tiproxy
Releases · pingcap/tiproxy
v1.3.2
v1.3.1
Improvements
- Support configuring multiple virtual IP addresses in one cluster #825
- Add debug logs and metrics for load balance #784 #788
- Use more conservative thresholds for health and memory factors #787
- Add config
enable-traffic-replayto turn off traffic replay on TiDB Cloud #800
Bug Fixes
- Fix wrong status in the API debug log #782
- Fix that TiProxy may be too slow to migrate connections when TiDB scales in #785
- Fix the bug that the CPU usage jitters too much in the short-lived connection workload #786
- Fix the load balance may not work when one TiDB is unhealthy #797
- Fix that the connection scores may be wrong when the connection closes and migrates concurrently #799
- Reduce useless migrations based on connection count in short connection workload #803
- Fix data race when routing and setting config concurrently #809
- Fix connection migrations may be slower than expected #814
- Fix TiProxy doesn't update backend labels after TiDB sets label through the HTTP API #821
- Fix connection is repeatedly migrated by CPU and location #824 #827
Compatibility Breakers
- Never route to backends with a different label even when no backends are available #807
v1.4.0-beta.1
Features
- Release traffic replay as GA #642
Improvements
- Support configuring multiple virtual IP addresses in one cluster #705
- Change the default certificate RSA size from 1024 to 4096 #715
- Add a config
security.server-http-tls.cert-allowed-cnto verify the common names of client certificates #736
Bug Fixes
- Fix wrong status in the API debug log #753
Compatibility Breakers
- Forbid capturing traffic if the meta file already exists #721
v1.3.0
Features
- Support traffic replay as an experimental feature #642
Improvements
- Make the API
/api/debug/healthreturn error when no backends are available #692 - Do not log config when the config is not changed #694
Bug Fixes
- Fix that the configuration
proxyis reset when the command line flag--advertise-addris set #691 - Fix that an unhealthy backend may never be removed #697
Compatibility Breakers
- Change the tiproxyctl flag
--curlsto--hostand--port#664
v1.2.0
v1.1.0
Features
- Support multi-factor-based balance #465
Improvements
- Add configuration
proxy.advertise-addr#495 - Add command line argument
advertise-addr#497 - Speed up health check by checking in parallel #498
- Make sure the Welcome TiProxy info is always printed #507
- Do not reject new connections during
graceful-wait-before-shutdown#525 - Add configuration
labels#536 - Set the Y axis of some metrics to
logBase=2#561
Compatibility Breakers
- Deprecate command line arguments
log_levelandlog_encoder#504
v1.0.0
Improvements
- Replace
time.Timewith mono-time to optimize duration calculation #461 - Change the log level of some logs from info to debug #463
- Optimize updating metrics to improve the performance by around 3% #467
- Reduce GC CPU usage by 1% in the case of plenty of connections #474
- Add metrics for traffic and handshake #477
- Add alert rules #481
- Support get JSON format config for
/api/admin/configby settingAccept='application/json'in the request header #484
Fixes
- Fix that welcome logs may not printed #454
- Fix that rebalance may not work after session migrations are interrupted #459
- Fix the bug that the config file may not be reloaded if the directory is removed and recreated immediately #475
- Fix panic when a TiDB fails during session migration #486
- Fix the bug that some goroutines are not recovered after they panic #488
v0.2.0
Improvements
- Support online reload for
require-backend-tlsand remove unnecessary configs #396 - Add config
graceful-close-conn-timeout#400 - Add config
server-http-tlsto specify HTTP port TLS config #403 - Do not report errors when the sequence mismatches #410
- Double-check the target backend health before session migration #412
- Add more metrics for connections, queries and health checks #416
- Move config
require-backend-tlsfromproxytosecurityand change the default value tofalse#419 - Add HTTP API
/debugand/metricsto be consistent with TiDB #426 - Remove pushing metrics to Prometheus to avoid authentication #431
- Change the default minimum TLS version from v1.1 to v1.2 #437
Fixes
v0.1.2
v0.1.2-alpha.2
Changelog
- 37c4701 backend, net: reduce memory allocation in forwarding packets (#394)
- 9dac468 proxy: listen on additional addrs (#393)
- 8d0bf38 api: add grpc and diagnostics (#388)
- c7ea81a backend, net: optimize read/write connection by forwarding packets (#391)
- 5da388a backend: fix duplicated import (#390)
- c9c5817 auth: reconnect backend (#389)