【问题标题】:Why the modified `toml` configuration for TiKV/PD does not take effect?为什么 TiKV/PD 修改后的 `toml` 配置不生效?
【发布时间】:2018-04-24 09:38:50
【问题描述】:

在部署 TiDB 时,为什么修改 toml 的 TiKV/PD 配置没有生效?

【问题讨论】:

    标签: database tidb tikv tidb-pd


    【解决方案1】:

    需要在 TiKV/PD 中设置 --config 参数才能使 toml 配置生效。 TiKV/PD 默认不读取配置。目前,此问题仅在使用 Binary 进行部署时出现。对于 TiKV,编辑配置并重启服务。对于 PD,配置文件只有在 PD 首次启动时才会读取,之后可以使用 pd-ctl 修改配置。详情请见PD Control User Guide

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-26
      • 1970-01-01
      相关资源
      最近更新 更多