Version Upgrade

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

Original topic: 版本升级

| username: 等一分钟

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.

  1. Can I upgrade directly?
  2. If so, what should I pay attention to?
| username: 等一分钟 | Original post link

The cluster includes tidb_server, pd_server, tikv_server, tiflash_server, and granfa nodes.

| username: h5n1 | Original post link

| username: Kongdom | Original post link

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.
| username: 会飞的土拨鼠 | Original post link

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.

| username: 等一分钟 | Original post link

Thank you, everyone.

| username: system | Original post link

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