pingcap / pingcap/tidb

TIKV_REGION_STATUS query fails on large clusters due to PD HTTP client 30s timeout

Open
#70,367 0 comments 0 reactions 0 assignees View on GitHub
contribution type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
When the cluster scale is large, fetching Region information via TIKV_REGION_STATUS fails with an error because of the 30-second timeout。
https://github.com/pingcap/tidb/pull/51286 :This PR also describes this problem, but the fix was never merged。
tidb_version:v8.5

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the TIKV_REGION_STATUS failure on a large cluster and read the linked PR 51286 for the prior attempted fix. Trace the query's PD HTTP client request and confirm that the completed work allows Region information to be fetched successfully without the current 30-second timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.