-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
contributionThis PR is from a community contributor.This PR is from a community contributor.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Enhancement
This is enhancement for Tiup to check , if the version is matching for the component skip the upgrade and proceed.
Let me explain i have my cluster running with version 8.5.3 ie., the latest as of now. But My tiproxy is running with version 1.3.0
Cluster version and status:
Cluster type: tidb
Cluster name: Inctest
Cluster version: v8.5.3
Deploy user: tidb
SSH type: builtin
But now when i run the below command just to upgrade the tiproxy to 1.3.2
tiup cluster upgrade inctest v8.5.3 --tiproxy-version v1.3.2
will upgrade and restart component " tiflash" to "v8.5.3",
will upgrade and restart component " pd" to "v8.5.3",
will upgrade and restart component " tiproxy" to "v1.3.2",
will upgrade and restart component " tikv" to "v8.5.3",
will upgrade and restart component " tidb" to "v8.5.3",
will upgrade and restart component " prometheus" to "v8.5.3",
will upgrade and restart component " grafana" to "v8.5.3",
will upgrade and restart component " alertmanager" to "",
will upgrade component "node-exporter" to "",
will upgrade component "blackbox-exporter" to "".
The tiup proceed to run the upgrade for all the component without even making a check of the component
version
Am not pretty sure its a bug or its enhancement requirement or am doing something wrong.
Enhancement:
------------
Tiup to make version check of the current components and proceed with the upgrade for needed components
This can reduced the reload time time of the cluster
Metadata
Metadata
Assignees
Labels
contributionThis PR is from a community contributor.This PR is from a community contributor.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.