pingcap / pingcap/tidb

import into failed when inject some fault,such as kill ddl owner、kill pdleader with global sort

Open
#48,702 4 comments 0 reactions 1 assignee Claimed by @ywqzzy View on GitHub
component/ddl severity/moderate 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 import into
2、inject some fault during import into such as kill ddl owner、kill pdleader

### 2. What did you expect to see? (Required)
import into can success

### 3. What did you see instead (Required)
import into failed when inject some fault,such as kill ddl owner、kill pdleader

the status of import job is not finished or running (now: 2023-11-18 20:15:22, jobId: 1, step: importing, status: failed)
operatorLogs:
[2023-11-18 19:14:51] ###### start import into
import into user_data1 from 's3://qe-testing/brie/lightning-mhy-100G-csv/sysbench.user_data1.000001*.csv?access-key=xxx&secret-access-key=xxx&endpoint=xxx&force-path-style=false®ion=xxx&provider=xxx' WITH DETACHED,thread=8,skip_rows=1
[2023-11-18 19:14:51] ###### wait for import job to finish
[2023-11-18 20:15:22] ###### wait for import job to finish failed
select id, step, status from mysql.tidb_import_jobs where start_time >= '2023-11-18 19:14:51'
jobId: 1, step: importing, status: failed

### 4. What is your TiDB version? (Required)
git hash:23314d9d402e545dae9df57606f0ead3e67e0cd7

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.