Version Upgrade

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

Original topic: 版本升级

| username: 等一分钟

[TiDB Usage Environment] Production Environment

  1. Is version 7.1.5 recommended for use?
  2. Can we upgrade directly from version 6.5.1 to 7.1.5?
| username: 这里介绍不了我 | Original post link

The new version is very comfortable to use. As long as you prepare tests and rollback plans in advance, there shouldn’t be any major issues with the upgrade.

| username: WalterWj | Original post link

You can upgrade directly.

| username: 等一分钟 | Original post link

Okay, thank you everyone.

| username: 等一分钟 | Original post link

Rollback plans generally include what? I can only think of disk snapshots.

| username: 这里介绍不了我 | Original post link

If resources are abundant, you can use TiCDC to set up a cluster.

| username: xfworld | Original post link

BR backs up a snapshot…, but it’s not ideal; having more redundant resources would be safer.

| username: DBAER | Original post link

Generally, TiCDC is used more often.

| username: Kongdom | Original post link

  1. It is recommended to use version 7.1.5.
  2. You can upgrade directly from version 6.5.1 to 7.1.5.
| username: TiDBer_QYr0vohO | Original post link

You can upgrade directly to 7.1.5.

| username: 柴米油酱 | Original post link

TiCDC to the new cluster, front-end proxy controls traffic for a smooth switch to the new cluster.

| username: zhaokede | Original post link

After backing up the test environment, upgrade it first. Once it’s verified that there are no issues with the business, then upgrade the production environment.

| username: 随缘天空 | Original post link

Why not upgrade directly to version 7.5?

| username: 等一分钟 | Original post link

Is it true that clusters with TiFlash nodes cannot be upgraded online?

| username: Kongdom | Original post link

No, just need to pay attention to the version.

| username: FutureDB | Original post link

Version 6.5.1 with TiFlash nodes can also be directly upgraded to 7.1.5.

| username: FutureDB | Original post link

Indeed, upgrading to 7.5 has quite a few new features compared to upgrading to 7.1.

| username: WinterLiu | Original post link

It is recommended to make a backup and then upgrade to the new version.

| username: Jack-li | Original post link

New features offer more options, while the old ones are more stable. It depends on your needs.

| username: zhh_912 | Original post link

Direct upgrade, no big issues.