-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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 fail for "too many sst files are ingesting" #44137
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
feature/developing
the related feature is in development
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Comments
tangenta
added
affects-7.1
This bug affects the 7.1.x(LTS) versions.
severity/major
labels
May 24, 2023
ti-chi-bot
bot
added
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
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
labels
May 24, 2023
Normally, TiDB should retry even if "too many sst" is reported. However, there is a panic during retry:
This is because the engine is closed but it doesn't get cleaned from backend context:
As a result, the engine is not opened in the next retry. |
12 tasks
tangenta
added
feature/developing
the related feature is in development
and removed
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
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
labels
May 24, 2023
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
feature/developing
the related feature is in development
severity/major
sig/sql-infra
SIG: SQL Infra
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)
add index
flashback to the time before add index
during flashback inject tidb failure and tikv-pd lantency
2. What did you expect to see? (Required)
add index successfully
3. What did you see instead (Required)
add index fail
[2023/05/23 23:11:34.790 +00:00] [WARN] [index.go:1020] ["[ddl] run add index job failed, convert job to rollback"] [job="ID:291, Type:add index, State:running, SchemaState:write reorganization, SchemaID:89, TableID:109, RowCount:10000000, ArgLen:6, start time: 2023-05-23 22:29:45.107 +0000 UTC, Err:[Lightning:KV:ServerIsBusy]too many sst files are ingesting, ErrCount:1, SnapshotVersion:441681441038270473, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
4. What is your TiDB version? (Required)
7.1.0
The text was updated successfully, but these errors were encountered: