Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 版本升级
Consulting about TiDB version upgrade
I want to upgrade from the current versions v4.0.4, v5.0.2, and v5.2.3 to the latest v6.0 version.
- Can I upgrade directly?
- If so, what should I pay attention to?
The cluster includes tidb_server, pd_server, tikv_server, tiflash_server, and granfa nodes.
This document applies to the following upgrade paths:
- Using TiUP to upgrade from TiDB 4.0 to TiDB 6.0 and subsequent revisions.
- Using TiUP to upgrade from TiDB 5.0-5.4 to TiDB 6.0 and subsequent revisions.
TiDB currently does not support version downgrades or rollbacks after an upgrade.
For a 4.0 version cluster managed by TiDB Ansible, you need to first follow the 4.0 version documentation to import the cluster into TiUP (tiup cluster) management, and then follow this document to upgrade to version 6.0 and subsequent revisions.
You can upgrade directly, but remember to back up your data before upgrading.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.