-
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
add index blocked after injection network partition between pd leader and all other pods #53909
Labels
affects-8.1
affects-8.2
component/ddl
This issue is related to DDL of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
/component ddl |
ti-chi-bot
bot
added
component/ddl
This issue is related to DDL of TiDB.
severity/critical
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
may-affects-8.1
labels
Jun 11, 2024
/assign tangenta |
tangenta
added
affects-8.1
and removed
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
may-affects-8.1
labels
Jun 21, 2024
13 tasks
There has been no ddl owner since the fault injection, because |
13 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/tidb
that referenced
this issue
Jun 26, 2024
13 tasks
ti-chi-bot
bot
added
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
Aug 5, 2024
tangenta
removed
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
Aug 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-8.1
affects-8.2
component/ddl
This issue is related to DDL 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)
tidb_enable_dist_task='off'
1、run sysbench
2、add index for one of table
3、inject network partition between pd leader and all other pods
tidb logs:
tidb-0-2024-06-09T22-21-12.334.log.tar.gz
tidb-1-2024-06-09T22-09-07.701.log.tar.gz
2. What did you expect to see? (Required)
add index can success
3. What did you see instead (Required)
add index blocked after injection network partition between pd leader and all other pods
operator logs:
the status of ddl job is not synced after 1h0m0s (now: 2024-06-09 12:39:47, jobId: 491, job type: add index /* ingest /, state: running)
operatorLogs:
[2024-06-09 11:39:29] ###### start adding index
ALTER TABLE
sbtest1
ADD INDEXindex_test_1717904369842
(c
)[2024-06-09 11:39:29] ###### wait for ddl job finish
[2024-06-09 12:39:47] ###### wait for ddl job finish timeout(1h0m0s)
select job_id, job_type, state from information_schema.ddl_jobs where query = 'ALTER TABLE
sbtest1
ADD INDEXindex_test_1717904369842
(c
)'jobId: 491, job type: add index / ingest */, state: running
4. What is your TiDB version? (Required)
./tidb-server -V
Release Version: v8.2.0-alpha
Edition: Community
Git Commit Hash: d75ff82
Git Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-06-08 11:46:12
GoVersion: go1.21.10
Race Enabled: false
Check Table Before Drop: false
Store: unistore
2024-06-09T11:28:46.842+0800
The text was updated successfully, but these errors were encountered: