Scaled component version doesn't respect `component_versions` in the original spec
djshow832 opened this issue · comments
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
- Create a spec with
component_versions
:
component_versions:
tiproxy: "v1.0.0"
tidb: "nightly"
- Create a cluster with
v8.2.0
:
tiup cluster deploy my_cluster v8.2.0 cluster.yaml -y
tiup cluster start my_cluster
- Scale out tidb and tiproxy:
tiup cluster scale-out my_cluster scale-out.yaml
Note that the version is not specified in scale-out.yaml
.
-
Check the versions of scaled tiproxy and tidb
-
What did you expect to see?
The scaled version of tiproxy and tidb should be the same as other instances. That is, TiDB nightly and TiProxy v1.0.0
- What did you see instead?
Scaled TiProxy and TiDB are the latest stable versions. TiDB v8.2.0 and TiProxy v1.1.0
- What version of TiUP are you using (
tiup --version
)?
1.16.0 tiup
Go Version: go1.21.11
Git Ref: v1.16.0
GitHash: e543145831d44a863366ff8c379d25980730bbd1
/assign