lightning configuration tidb.tls = false
should not affect cluster certificate (PD's connection)
#54172
Labels
component/lightning
This issue is related to Lightning of TiDB.
severity/moderate
type/bug
This issue is a bug.
When user only set
security
and not settidb.security
, TiDB connection's certificate will fallback to cluster certificate. However, TiDB connection has a separatetidb.tls
to control other TLS behaviours. We should not let it affects cluster certificate, like in the case when fallack TiDB hastidb-tls = false
but PD needs TLStidb/pkg/lightning/config/config.go
Lines 177 to 179 in f57d2b9
The text was updated successfully, but these errors were encountered: