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 rollback and import into failed when failure one tidb or tidb rolling restart with global sort #48633

Closed
Lily2025 opened this issue Nov 16, 2023 · 3 comments
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. 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 severity/major type/bug The issue is confirmed as a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Nov 16, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

tidb_enable_dist_task='on' and enable global sort
1、run workload
2、add index for one table or run import into
3、failure one tidb or tidb rolling restart

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

add index or import into can success

3. What did you see instead (Required)

add index rollback and import into failed when failure one tidb or tidb rolling restart

add index:
the status of ddl job is not synced or running (now: 2023-11-15 21:35:45, jobId: 425, job type: add index /* ingest cloud /, state: rollback done)
operatorLogs:
[2023-11-15 21:34:15] ###### start adding index
alter table sbtest1 add index index_test_1700055255114 (c)
[2023-11-15 21:34:15] ###### wait for ddl job finish
[2023-11-15 21:35:45] ###### wait for add index job to finish failed
select job_id, job_type, state from information_schema.ddl_jobs where query = 'alter table sbtest1 add index index_test_1700055255114 (c)'
jobId: 425, job type: add index /
ingest cloud */, state: rollback done"

4. What is your TiDB version? (Required)

git hash:151b5b1df9d595bf0b568ff82f2ea2e13ae3eddb

@Lily2025 Lily2025 added the type/bug The issue is confirmed as a bug. label Nov 16, 2023
@Lily2025 Lily2025 changed the title add add index rollback and import into failed when failure one tidb or tidb rolling restart Nov 16, 2023
@Lily2025
Copy link
Author

/assign ywqzzy

@Lily2025 Lily2025 changed the title add index rollback and import into failed when failure one tidb or tidb rolling restart add index rollback and import into failed when failure one tidb or tidb rolling restart with global sort Nov 16, 2023
@D3Hunter
Copy link
Contributor

duplicate with #48635

@Lily2025
Copy link
Author

/severity major

@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. 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 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants