Skip to content
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 status was always running after inject ddl owner network partition #47954

Closed
Lily2025 opened this issue Oct 25, 2023 · 2 comments · Fixed by #48005
Closed

add index status was always running after inject ddl owner network partition #47954

Lily2025 opened this issue Oct 25, 2023 · 2 comments · Fixed by #48005
Assignees
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/critical type/bug The issue is confirmed as a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Oct 25, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

1、run workload
2、add index for one table of sysbench
3、add index repeatedly
4、inject ddl owner network partition

case config
workloads:
- type: sysbench
storage: s3://benchmark/sysbench_64_7000w
db: sysbench_64_7000w
tableNum: 64
tableSize: 70000000
threads: 64
subType: oltp_read_write
ignoreErrors: "all"
cases:
- name: "ha_tidb(ddl-owner)_to_all_network_partition"
warmUpTime: 1m
faultType: network_partition
selector: "tidb(ddl-owner)_to_all"
period: "@every 5m"
faultDuration: 3m
faultTotalRunTime: 30m
ddl:
addIndex:
- db: "sysbench_64_7000w"
table: "sbtest1"
timeout: 60m
times: 5
index_col_name: "c"
job_type: "ingest"
admin_check: false
count_check: false

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

add index can success

3. What did you see instead (Required)

add index status was always running after inject ddl owner network partition

4. What is your TiDB version? (Required)

./tidb-server -V
Release Version: v7.6.0-alpha
Edition: Community
Git Commit Hash: cd0587e
Git Branch: heads/refs/tags/v7.6.0-alpha
UTC Build Time: 2023-10-25 11:44:53
GoVersion: go1.21.3
Race Enabled: false
Check Table Before Drop: false
Store: unistore

@Lily2025 Lily2025 added the type/bug The issue is confirmed as a bug. label Oct 25, 2023
@Lily2025
Copy link
Author

/component ddl
/severity critical
/assign ywqzzy

@ti-chi-bot ti-chi-bot bot added component/ddl This issue is related to DDL of TiDB. severity/critical 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 25, 2023
@ywqzzy
Copy link
Contributor

ywqzzy commented Oct 25, 2023

problem: tests after the first failed test can't scheduler add index dist task for getting no available nodes.
I am working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants