How to Upgrade Online to v5.3

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

Original topic: v5.3如何在线升级

| username: 扬仔_tidb

Old cluster v5.3.0, upgrade target 6.5.5

I followed the documentation for an online upgrade,

  1. Shut down TiFlash
  2. tiup cluster upgrade xxx v6.5.5
  3. The cluster automatically brought TiFlash back up, shut down TiFlash again
  4. 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?
| username: 扬仔_tidb | Original post link

The images you provided are not accessible for translation. Please provide the text content directly for translation.

| username: tidb菜鸟一只 | Original post link

TiFlash needs to be turned off first.

| username: 扬仔_tidb | Original post link

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?

| username: Jolyne | Original post link

Could you provide a more detailed error log?

| username: 扬仔_tidb | Original post link

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.

| username: 扬仔_tidb | Original post link

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.

| username: dba远航 | Original post link

Check the logs to see why it didn’t stop normally; this is also a way to identify the issue.

| username: system | Original post link

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