Open gekaiwen opened 4 years ago
Please answer these questions before submitting your issue. Thanks!
tiup cluster edit-config tidb-test -R tidb
config which I updated change, others not change.
monitored: deploy_dir: deploy/monitor-9100 data_dir: data/monitor-9100 log_dir: deploy/monitor-9100/log
monitored:
deploy_dir: deploy/monitor-9100
data_dir: data/monitor-9100
log_dir: deploy/monitor-9100/log
change to monitored: deploy_dir: deploy/monitor-9100 data_dir: data/monitor-9100 log_dir: deploy/monitor-9100/deploy/monitor-9100/log
log_dir: deploy/monitor-9100/deploy/monitor-9100/log
tidb-server -V
select tidb_version();
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
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
============================
https://github.com/pingcap-incubator/tiup-cluster/blob/master/pkg/meta/topology.go:618 maybe should add some check~
/bug P2
Fixed https://github.com/pingcap-incubator/tiup-cluster/pull/395
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
tiup cluster edit-config tidb-test -R tidb
2. What did you expect to see?
config which I updated change, others not change.
3. What did you see instead?
monitored:
deploy_dir: deploy/monitor-9100
data_dir: data/monitor-9100
log_dir: deploy/monitor-9100/log
change to
monitored:
deploy_dir: deploy/monitor-9100
data_dir: data/monitor-9100
log_dir: deploy/monitor-9100/deploy/monitor-9100/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
============================
https://github.com/pingcap-incubator/tiup-cluster/blob/master/pkg/meta/topology.go:618 maybe should add some check~