-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lightning import failed after inject pdleader io delay 1s #47930
Labels
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
/severity major |
ti-chi-bot
bot
added
severity/major
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
labels
Oct 23, 2023
lance6716
added
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
labels
Oct 23, 2023
ti-chi-bot
bot
removed
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
labels
Oct 23, 2023
I guess it's caused by Lines 167 to 174 in 05b50a1
|
13 tasks
This was referenced Oct 25, 2023
This was referenced Oct 25, 2023
16 tasks
guoshouyan
pushed a commit
to guoshouyan/tidb
that referenced
this issue
Mar 5, 2024
pingcap#47973) (pingcap#24) close pingcap#47930 Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
1、lightning import
- storage: s3://benchmark/location-dumpling
s3Endpoint: http://minio.pingcap.net:9000
db: location
options: --enable-checkpoint false
config: |-
[lightning]
max-error = 9999999999
[tikv-importer]
duplicate-resolution = "record"
incremental-import = true
crc32Checksum: 2645404411
adminCheck:
- table: AreaMeshLake
indexes:
- areameshlakeid
backend: local
sortedKvDir: /tmp/sorted-kv-dir
- storage: s3://brie/lightning-mhy-100G-csv
s3Endpoint: http://minio.pingcap.net:9001
db: sysbench
backend: local
sortedKvDir: /tmp/sorted-kv-dir
options: "--enable-checkpoint false"
config: "[[mydumper.files]]\npattern = "sysbench-schema-create.sql"\nschema = "sysbench"\ntype = "schema-schema"\n[[mydumper.files]]\npattern = "sysbench.user_data1-schema.sql"\nschema = "sysbench"\ntable = "user_data1"\ntype = "table-schema"\n[[mydumper.files]]\npattern = "sysbench.user_data1.000000[0-3][0-9][0-9].csv"\nschema = "sysbench"\ntable = "user_data1"\ntype = "csv""
crc32Checksum: 619903217
2、inject pdleader io delay 1s
- name: ha_pdleader_io_delay(1s)
faultType: iochaos_io_delay(volumePath:/var/lib/pd,path:/var/lib/pd/data/**/*,delay:1s,percent:100)
selector: pdleader
warmUpTime: 1m
period: "@every 3m"
faultDuration: 1m
faultTotalRunTime: 20m
lightningList: *id001
2. What did you expect to see? (Required)
lightning import can success
3. What did you see instead (Required)
lightning import failed after inject pdleader io delay 1s
tidb lightning encountered error: [Lightning:Restore:ErrRestoreTable]restore table
sysbench
.user_data1
failed: Post "http://tc-pd:2379/pd/api/v1/config/region-label/rule": http: ContentLength=274 with Body length 04. What is your TiDB version? (Required)
./tidb-server -V
Release Version: v7.5.0-alpha
Edition: Community
Git Commit Hash: af7b32c
Git Branch: heads/refs/tags/v7.5.0-alpha
UTC Build Time: 2023-10-19 11:43:11
GoVersion: go1.21.3
Race Enabled: false
Check Table Before Drop: false
Store: unistore
2023-10-20T08:01:59.525+0800
The text was updated successfully, but these errors were encountered: