Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: v5.3如何在线升级
Old cluster v5.3.0, upgrade target 6.5.5
I followed the documentation for an online upgrade,
- Shut down TiFlash
- tiup cluster upgrade xxx v6.5.5
- The cluster automatically brought TiFlash back up, shut down TiFlash again
- tiup cluster upgrade xxx v6.5.5 --offline, prompted Error: cluster is running and cannot be upgraded offline
Why is my experience different from what the documentation says?
The images you provided are not accessible for translation. Please provide the text content directly for translation.
TiFlash needs to be turned off first.
I first shut down TiFlash, with a total of 3 nodes. After executing the upgrade, the cluster automatically brought up one TiFlash node, but the other 2 TiFlash nodes failed to start. How should I proceed with the upgrade in this situation?
Could you provide a more detailed error log?
There is no exception, but did I make a mistake in the process?
After shutting down TiFlash, should I upgrade TiFlash using tiup cluster upgrade xxx --offline
while other PD, KV, and server components are still running? When I executed it, it reported that the cluster is running and did not allow offline mode.
I found the reason. When using tiup stop tiflash
, it shows “down”, but on the server, systemctl status tiflash-9000
shows “running”. Manually stopping it works.
Check the logs to see why it didn’t stop normally; this is also a way to identify the issue.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.