-
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
drop/truncate partition will not remove partition placement rule after GC #44116
Labels
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Comments
lcwangchao
added
type/bug
The issue is confirmed as a bug.
sig/sql-infra
SIG: SQL Infra
severity/major
labels
May 23, 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
may-affects-7.1
labels
May 23, 2023
lcwangchao
added
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
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
may-affects-7.1
labels
May 23, 2023
12 tasks
This was referenced May 24, 2023
12 tasks
lcwangchao
pushed a commit
to lcwangchao/tidb
that referenced
this issue
May 24, 2023
lcwangchao
added a commit
to ti-chi-bot/tidb
that referenced
this issue
May 25, 2023
Merged
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
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)
After creating the partition table, its placement rule in PD is:
We can see in group
TiDB_DDL_249
we have two rules for partitions with rule idpartition_rule_250_0
andpartition_rule_251_0
Then
We can see the rules are unchanged,
partition_rule_251_0
still exists after DDL. However, after the dropped partition table GC, the rule still exists.After we execute:
The placement rule changes to:
partition_rule_251_0
is deleted andpartition_rule_254_0
created. However, if we execute the above add partition DDL before old dropped partition GC,partition_rule_251_0
will still be deleted without waiting for GC.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: