Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 集群升级失败
[Test Environment for TiDB]
[TiDB Version]
[Reproduction Path] What operations were performed that led to the issue
Single-node 7.1.0 test environment online upgrade to 7.5.0 reported an error, seems related to tso, not very clear
[Encountered Issue: Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
The upgrade timed out. Try adding --wait-timeout 1200 during the upgrade and try again.
Is there an issue with the PD node?
Port 4000 is not accessible, 2 minutes timeout, check if the cluster process port is normal.
You should have checked the cluster status before the upgrade. It’s unlikely that the network is disconnected.
It’s just one machine. The image error might not be the key issue. Try looking through the logs again.
It looks like there was an issue when starting tidb-server to access pd. Please check if the pd status is normal first.
It is indeed a timeout. What could be the reason for this? Is it related to machine configuration and network?
Take a look and see if the network of each node is normal.
I have only one node, deployed on a single machine.
It might still be due to low configuration. How long did it take in total the second time it succeeded?
The port might be occupied and not released in time, causing a timeout.
It’s not due to machine configuration or network issues; it’s simply that the upgrade process is relatively long. The default timeout is 2 minutes, so even if the upgrade process is normal, it will be considered a timeout if it exceeds 2 minutes. Therefore, it’s best to set this parameter to a larger value during the upgrade.
Okay, since there was no timeout error during previous upgrades, I’m curious if it’s because this time it’s a single-node test environment that caused the error.
There are upgrade plans at the end of the year, just coming to take a look.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.