Dumping failed message: stop fetching the pending TSO requests due to context canceled

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

Original topic: dumping 失败提示:stop fetching the pending tso requests due to context canceled

| username: 奋斗的大象

The default value of tidb_gc_life_time is 10m, which means that data older than 10 minutes will be cleaned up. You can adjust this parameter according to your needs.

| username: 奋斗的大象 | Original post link

It’s a strange error. It didn’t work last night, but it works this morning. Does anyone know what’s going on?

| username: zhaokede | Original post link

Literal meaning: Due to context cancellation, stop fetching pending TSO requests.
Did you perform a cancel operation, or was there a network interruption?

| username: xfworld | Original post link

Did you manually cancel it?

| username: buddyyuan | Original post link

This log appearing is not an issue, it later shows “dump data successfully, dumpling will exit now.” This part is [info].

| username: Jolyne | Original post link

The previous logs are INFO, so this backup should have been successful, right?

| username: No_Fear | Original post link

Manually canceled? Or was it interrupted for other reasons?

| username: TiDBer_小阿飞 | Original post link

After the backup is completed, start the GC safepoint through PD (the GC safepoint is stopped during the backup). This ERROR caused by context cancel after the backup is completed will be optimized in subsequent versions in terms of related logs and logic.

For more details on the bug, please see: br: Backup succeeded but there some PD ERROR log (context cancel) show in log file. · Issue #31335 · pingcap/tidb · GitHub

| username: tidb菜鸟一只 | Original post link

This does not affect the backup. You can see that the backup should have been successful in the end.

| username: 小龙虾爱大龙虾 | Original post link

Your backup was successful, no issues.

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

What is the last message after the backup is completed?

| username: yulei7633 | Original post link

Was there a network anomaly when connecting to PD within the cluster at that time?

| username: DBAER | Original post link

The info level generally does not need attention. Did the backup fail?

| username: TiDBer_rvITcue9 | Original post link

Backup successful.