TiDB BR Restore Error: Context Deadline Exceeded

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

Original topic: tidb br 恢复 报错 context deadline exceeded

| username: Lock4U

【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】


How should this be handled, experts? This error occurred during full restoration after a full backup, only the table structure and partial data were migrated.

| username: xfworld | Original post link

Did the PD crash? Or is the network down?

| username: Lock4U | Original post link

None of them are completely normal.

| username: xfworld | Original post link

Is the version of the br tool consistent with the version of the TiDB from which the data was backed up?

| username: Lock4U | Original post link

Consistent, I deleted the cluster data after backing it up, and it still doesn’t work when I try to restore it.

| username: xfworld | Original post link

From the provided image, it looks like PD is gone :upside_down_face: :upside_down_face: :upside_down_face:

| username: Lock4U | Original post link

My configuration is 4 cores, 16GB, and 3 nodes.

| username: Lock4U | Original post link

Did it crash and restart during the recovery? I can’t see if it crashed during the recovery.

| username: 裤衩儿飞上天 | Original post link

Check the cluster status.

| username: Lock4U | Original post link

The link you provided appears to be an image. Please provide the text content you need translated.

| username: Lock4U | Original post link

| username: Lock4U | Original post link

Restored once again, still the same.

| username: Lock4U | Original post link

The cluster PDs were all normal, and there were no PD failures during the recovery process.

| username: Lock4U | Original post link

Is there a parameter to set the timeout?

| username: Minorli-PingCAP | Original post link

How did you delete the cluster data? It looks like there is an issue with the cluster. Try redeploying a new cluster.

| username: Lock4U | Original post link

I use the same configuration file for all clusters.

| username: Lock4U | Original post link

Deleting data means directly cleaning it out.