pingcap / pingcap/tidb

tidb_adaptive_closest_read_threshold in the internal sql has wrong default value

Open
#62,079 0 comments 0 reactions 1 assignee Claimed by @hawkingrei View on GitHub
affects-7.5 affects-8.1 affects-8.5 severity/major sig/sql-infra 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)

add assert for ```tidb_adaptive_closest_read_threshold``` to check whether its default value is zero.

### 2. What did you expect to see? (Required)

it is impassible that the default value is zero

### 3. What did you see instead (Required)

assert fail

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

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.