lightning: when tidb.tls config set to "false", TLSConfig didn't change, and db cannot connect #53001
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
This issue is a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
set lightning.toml security
set lightning config toml [tidb.tls] to "false"
tidb cluster open cluster tls but no client tls
2. What did you expect to see? (Required)
3. What did you see instead (Required)
tidb/pkg/lightning/config/config.go
Lines 177 to 200 in c60f97d
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: