Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 5.4.3升级到6.5.0透传失效

[TiDB Usage Environment] Production Environment / Testing / Poc
Testing
[TiDB Version]
v6.5.0
[Reproduction Path] What operations were performed when the issue occurred
Online upgrade of the TiDB cluster from 5.4.3 to 6.5.0, following the official documentation (tiup online upgrade)
[Encountered Issues: Problem Phenomenon and Impact]
- HAProxy passthrough failure
- For example, the business server IP is 10.10.10.11, and the HAProxy server is 192.168.10.10
- Before the upgrade, the database account’s whitelist was 10.10.10.11, and the business server accessed normally
- After the upgrade, the business server could not access, and authorization had to be given to the HAProxy server 192.168.10.10 for normal access
- Before the upgrade, checking the processlist of the TiDB cluster showed that the host was the business IP, coming from 10.10.10.11
- After the upgrade, after adding authorization to HAProxy, the host field in the processlist was the HAProxy IP 192.168.10.10
- No other additional operations were performed, and the issue was reproducible in different environments when upgrading from 5.4.3 to 6.5.0
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]