Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Co-authored-by: D3Hunter <[email protected]>
  • Loading branch information
River2000i and D3Hunter authored Dec 31, 2024
1 parent a60f5bf commit 34abf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/loader/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func GetLightningConfig(globalCfg *lcfg.GlobalConfig, subtaskCfg *config.SubTask
return nil, err
}
cfg.TiDB.Security = &globalCfg.Security
// TODO: Using TLS content cannot verify certificates correctly when lightning access PD server.
// TODO: avoid writing to local file. right now we don't know how to verify certificates correctly using TLS content in a short time, but we have a time schedule to keep.
// Workround is also need to set TLS path instead of only set TLS content.
// Write TLS content to file when loader using TLS content or set db security only.
if subtaskCfg.LoaderConfig.Security != nil {
Expand Down

0 comments on commit 34abf84

Please sign in to comment.