pingcap / pingcap/tidb

[log backup] abnormal checkpoint TS lag

Open
#59,997 4 comments 0 reactions 1 assignee Claimed by @3pointer View on GitHub
affects-9.0 component/br may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

- create gcp cluster
- use br restore data from v8.1.2 to master version
- after restore finished,start log backup

### 2. What did you expect to see? (Required)
checkpoint ts lag is less than 5min

### 3. What did you see instead (Required)
`[2025/03/11 01:28:15.065 +00:00] [WARN] [regioniter.go:141] ["failed with trying to scan regions"] [error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"] [start=74] [end=75]`

![Image](https://github.com/user-attachments/assets/67df1265-e904-4246-b364-fb85c62cd646)

![Image](https://github.com/user-attachments/assets/1c5726c7-b8db-4788-912a-44b9465eac44)

### 4. What is your TiDB version? (Required)

Release Version: v9.0.0-alpha-381-g739a934
Edition: Community
Git Commit Hash: 739a934f631eb413ff3b150b0a7fc9db55eefcbd
Git Branch: HEAD
UTC Build Time: 2025-03-10 06:19:26
GoVersion: go1.23.7
Race Enabled: false
Check Table Before Drop: false
Store: tikv

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.