lightning failed to connect to tidb when using ipv6 host #35880
Closed
Description
opened on Jul 1, 2022
Bug Report
like pingcap/tiflow#6135, we should use net.JoinHostPort in:
tidb/br/pkg/lightning/common/util.go
Line 60 in ea5b0ff
PS: we cannot workaround by add square brace to host since when connecting to tidb status port we uses net.JoinHostPort
, in which case it'll add square brace twice
tidb/br/pkg/lightning/config/config.go
Line 157 in 323411d
Activity