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 task rollingback after inject ddl owner network partition #49556

Closed
Lily2025 opened this issue Dec 18, 2023 · 1 comment · Fixed by #49565
Closed

add index task rollingback after inject ddl owner network partition #49556

Lily2025 opened this issue Dec 18, 2023 · 1 comment · Fixed by #49565
Assignees
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/major type/bug This issue is a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Dec 18, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

1、tidb_enable_dist_task='off'
2、add index
3、inject ddl owner network partition

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

add index can success

3. What did you see instead (Required)

add index task rollingback

the status of ddl job is not synced or running (now: 2023-12-13 11:43:05, jobId: 604, job type: add index /* txn-merge /, state: rollingback)
operatorLogs:
[2023-12-13 11:29:04] ###### start adding index
alter table sbtest1 add index index_test_1702438144925 (c)
[2023-12-13 11:29:04] ###### wait for ddl job finish
[2023-12-13 11:43:05] ###### wait for ddl job to finish failed
select job_id, job_type, state from information_schema.ddl_jobs where query = 'alter table sbtest1 add index index_test_1702438144925 (c)'
jobId: 604, job type: add index /
txn-merge */, state: rollingback

from tangenta
[global:2]execution result undetermined

4. What is your TiDB version? (Required)

v7.1.3
git hash:e091ee57040e27b70cac6a29b4e59f3b3162021e

@Lily2025 Lily2025 added the type/bug This issue is a bug. label Dec 18, 2023
@Lily2025
Copy link
Author

/type bug
/severity major
/assign tangenta

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/major type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants