Do you need to stop the cluster to switch the mirror with tiup?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup 切换镜像需要停止集群吗?

| username: TiDBer_VtkBZH6I

[TiDB Usage Environment] Production Environment / Testing / Poc
Testing
[TiDB Version]
v5.0.0
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
tiup mirror set xx, switching mirrors, does switching mirrors require stopping the cluster in advance?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: 裤衩儿飞上天 | Original post link

No need
Keep the previous mirror, you can switch back anytime.

| username: magic | Original post link

Not needed.

| username: xingzhenxiang | Original post link

Not needed.

| username: Kongdom | Original post link

There is no need to stop the cluster.

| username: lmdb | Original post link

What is the purpose of doing this?

| username: BraveChen | Original post link

No, but after switching, some operations may result in errors.

| username: Kongdom | Original post link

Could you elaborate on that? I feel like it shouldn’t report an error as long as the image version doesn’t change.

| username: liuis | Original post link

Not needed.

| username: xfworld | Original post link

TiUP is a tool, and a cluster is an instance. Once the instance is built, it is not affected by other factors.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.