pingcap / pingcap/tidb

tidb OOM during lighting executing analyze with simulating pd leader io delay

Open
#61,450 6 comments 0 reactions 2 assignees Claimed by @hawkingrei View on GitHub
component/statistics 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)
1、run lighting import
2、simulate pd leader io delay

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

### 3. What did you see instead (Required)
tidb oom during lighting import with simulating pd leader io delay

Image

![Image](https://github.com/user-attachments/assets/eb7f1571-fa4d-46cd-ba6e-e397a359422c)

### 4. What is your TiDB version? (Required)
./tidb-server -V
Release Version: v9.0.0-beta.1.pre-850-ge7b038b
Edition: Community
Git Commit Hash: e7b038b99132d1cea74bd73b0d3cb9cc3e914515
Git Branch: HEAD
UTC Build Time: 2025-05-31 02:26:22
GoVersion: go1.23.9
Race Enabled: false
Check Table Before Drop: false
Store: unistore

./tidb-lightning -V
Release Version: v9.0.0-beta.1.pre-850-ge7b038b
Git Commit Hash: e7b038b99132d1cea74bd73b0d3cb9cc3e914515
Git Branch: HEAD
Go Version: go1.23.9
UTC Build Time: 2025-05-31 02:28:42

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.