Open gekaiwen opened 4 years ago
/bug P1
@gekaiwen Thanks for your feedback. This is a known issue that is caused by the wrong priority of overwriting configuration in cluster imported from Ansible.
We have submitted a PR to fix it. https://github.com/pingcap-incubator/tiup-cluster/pull/390
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
tiup cluster edit-config tidb-test -R tidb
server_configs:
tidb:
oom-action: cancel
tiup cluster reload tidb-test -R tidb
2. What did you expect to see?
get tidb config by restAPI : "oom-action":"cancel"
3. What did you see instead?
get TiDB config by restAPI : "oom-action":"log" ; config in deploy dir '/data1/tidb/deploy/conf/tidb.toml' : "oom-action":"log" ; config in TiUP dir '/home/tidb/.tiup/storage/cluster/clusters/tidb-test/config/tidb-xxx-01-4200.toml' : "oom-action":"log"
4. What version of TiDB are you using? (
tidb-server -V
or runselect tidb_version();
on TiDB)tiup cluster -v
Starting component cluster: /home/tidb/.tiup/components/cluster/v0.6.2/cluster -v
tiup version v0.6.0 (Unknown/Unknown) go1.13