docs-cn icon indicating copy to clipboard operation
docs-cn copied to clipboard

tiflash 的 redact_info_log 配置项描述

Open shawn0915 opened this issue 1 year ago • 2 comments

Question

This repository is ONLY used to solve problems related to DOCS-CN. For other issues (TiDB, TiKV, etc), please move to other repositories.

Before asking a question, make sure you have:

  • Searched existing Stack Overflow questions.
  • Googled your question.

Now, please describe your question here:

https://github.com/pingcap/docs-cn/blob/master/tiflash/tiflash-configuration.md?plain=1#L249

@JaySon-Huang @qiancai 249行使用的的是 -, 250行使用的是 _,可以统一下么?

-- 249
security.redact-info-log
-- 250
redact_info_log
-- 280
redact-info-log

shawn0915 avatar Jul 11 '24 06:07 shawn0915

这个是历史遗留问题,tiflash 配置项大多数是用 '_' 的。但是 tiflash-proxy 是基于 tikv 的,tikv 的配置项大多数用 '-'。这会导致 同样配置脱敏行为,或者安全证书配置的时候,tiflash 的配置项设置显得有些不协调。

这个如果要做,需要 tiflash 配置项的解析代码做些兼容,不是只修改文档就可以的。

JaySon-Huang avatar Jul 11 '24 07:07 JaySon-Huang

这个是历史遗留问题,tiflash 配置项大多数是用 '_' 的。但是 tiflash-proxy 是基于 tikv 的,tikv 的配置项大多数用 '-'。这会导致 同样配置脱敏行为,或者安全证书的时候,tiflash 的配置项设置显得有些不协调。

这个如果要做,需要 tiflash 配置项的解析代码做些兼容,不是只修改文档就可以的。

这样啊,谢谢解惑,不过看起来情况有些复杂了。

shawn0915 avatar Jul 11 '24 07:07 shawn0915