pingcap / pingcap/tidb

DDL can hang in user keyspace in tidb-x, when deployed locally

Open
#65,189 1 comment 0 reactions 1 assignee Claimed by @D3Hunter View on GitHub
component/ddl nextgen type/enhancement
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. Deploy the cluster with a system keyspace tidb and a user keyspace tidb
2. Add index

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

Add index can hang in the write reorg state. There can be many error logs like

```
2025/12/23 06:09:15 background error: creating object 000012: open /tmp/tidb/tmp_ddl-3000/54/1e7d96c7-b3ea-5f08-af70-bcfce4decd5a/000012.sst: no such file or directory
```

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

Add index succeeds.

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

master NEXT-GEN, local deployment

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.