官方的配置文件的key如何对应到tiup edit-config中的key

比如说,这个tiflash的内存限制参数官方文档如下:image|689x244
配置到配置文件中尝试以下三种方式都提示配置错误:
1、max_memory_usage_for_all_queries: 0.9
2、profiles.default.max_memory_usage_for_all_queries: 0.9
3、profiles.default
max_memory_usage_for_all_queries: 0.9

修改方式为:tiup cluster edit-cofig tidblcustername
诉求:官方配置文件的类似配置项KEY如何对应到实际的环境中

image
实际环境中,配置如上,提示无效

看这个,需要加 config https://docs.pingcap.com/zh/tidb/stable/tiup-cluster-topology-reference#tiflash_servers

2 个赞

可以考虑放配置文件上面的server_configs那里
image

标准示例中有这个配置,你维护的少了上级profiles.default


https://docs.pingcap.com/zh/tidb/stable/tiflash-deployment-topology#tiflash-部署拓扑

2 个赞

集群配置文件参数一般放到server_configs下

profiles.default.max_memory_usage_for_all_queries上级的?是啥意思

我的意思就是少了这一段 profiles.default :yum:

1 个赞

:joy: :joy: :joy:

这个是标准答案,需要加上config

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。