Lighting: Crtl-C can't stop lightning import
- 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. Lightning import is in progress
2. Press Ctrl-C to stop the import
### 2. What did you expect to see? (Required)
Lightning import is stopped.
### 3. What did you see instead (Required)
Lightning import is not stopped. though it seems that no logs are printed in lightning.log after ctrl-c is pressed around 14:18.
[root@zhengrong-24 lightning]# tail -n1 tidb-lightning.log.5
[2022/03/22 14:18:22.036 +08:00] [INFO] [checksum.go:172] ["remote checksum start"] [table=56unit_3_game_bets_game_tag_analysis_21]
### 4. What is your TiDB version? (Required)
[root@zhengrong-24 lightning]# ./tidb-lightning -V
Release Version: v6.0.0
Git Commit Hash: e130e522904106ecf9815fdb3aaccad68dcb5ee0
Git Branch: heads/refs/tags/v6.0.0
Go Version: go1.18
UTC Build Time: 2022-03-18 07:34:51
Race Enabled: false
Contributor guide
Assessment
This issue has not been assessed yet.