Error when backing up TiDB 4.0 to Alibaba Cloud OSS using BR 4.0

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

Original topic: br 4.0版本备份4.0tidb到阿里云oss报错,

| username: Csong

【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】
v4.0.10
【Encountered Problem】
br 4.0 version backup of 4.0 tidb to Alibaba Cloud OSS reports an error,

[2022/08/18 15:54:30.179 +08:00] [WARN] [base_client.go:194] [“[pd] cannot update leader”] [address=http://10.240.44.xx:2379] [error=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY”]
[2022/08/18 15:54:30.179 +08:00] [ERROR] [base_client.go:140] [“[pd] failed updateLeader”] [error=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY”] [errorVerbose=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY
github.com/tikv/pd/client.(*baseClient).updateLeader
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:200
github.com/tikv/pd/client.(*baseClient).leaderLoop
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:139
runtime.goexit
\truntime/asm_amd64.s:1357”] [stack=“github.com/tikv/pd/client.(*baseClient).leaderLoop
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:140”]
[2022/08/18 15:54:30.179 +08:00] [WARN] [base_client.go:194] [“[pd] cannot update leader”] [address=http://10.240.44.xx:2379] [error=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY”]
[2022/08/18 15:54:30.179 +08:00] [ERROR] [base_client.go:140] [“[pd] failed updateLeader”] [error=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY”] [errorVerbose=“[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:10.240.44.xx:2379 status:READY
github.com/tikv/pd/client.(*baseClient).updateLeader
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:200
github.com/tikv/pd/client.(*baseClient).leaderLoop
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:139
runtime.goexit
\truntime/asm_amd64.s:1357”] [stack=“github.com/tikv/pd/client.(*baseClient).leaderLoop
\tgithub.com/tikv/pd@v0.0.0-20210105112549-e5be7fd38659/client/base_client.go:140”]

Backing up to local, tikv all mounted nas, no problem with backup
v5.3 version, v6.1 version also no problem, is it because the version is too old?

| username: Billmay表妹 | Original post link

It is recommended to upgrade to the new version, as many issues in the old version have been resolved in the new one~