Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster: Improve cluster restart messaging (#2442)
Cluster restart messaging indicates to user that the: - Cluster will be unavailable (https://github.com/pingcap/tiup/blob/654b087a1d293128424c0bd04e1ba216b064ffd1/pkg/cluster/manager/basic.go#L235) This message is confusing when the command run only requests a single node restart, especially monitoring nodes or ones in an HA deployment. Commit changes the messaging so that users performing full cluster restart retain the same message as before. But users only restarting selected nodes or roles will have that replaced with a more detailed warning message: `Cluster functionality related to nodes: %s and roles: % will be unavailable`
- Loading branch information