看到官方文档,发现可以在配置文件里加isolation-read.engines来针对tidb-server来设置是否启用TiFlash,但是使用tiup cluster edit-cofig
修改配置时,报field isolation-read.engines not found in type spec.TiDBSpe
.具体错误信息如下:
tiup is checking updates for component cluster ...
Starting component `cluster`: /root/.tiup/components/cluster/v1.11.1/tiup-cluster edit-config dw-tidb6
New topology could not be saved: Failed to parse topology file: yaml: unmarshal errors:
line 66: field isolation-read.engines not found in type spec.TiDBSpec
line 99: field isolation-read.engines not found in type spec.TiDBSpec
Do you want to continue editing? [Y/n]: (default=Y) N
Nothing changed.