-
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
/tiflash/table/sync not cleared #37168
Labels
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
severity/moderate
type/bug
The issue is confirmed as a bug.
Comments
breezewish
added
type/bug
The issue is confirmed as a bug.
severity/moderate
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
labels
Aug 17, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Sep 7, 2022
This was referenced Sep 7, 2022
12 tasks
xhebox
removed
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
labels
Oct 28, 2022
xhebox
removed
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
labels
Oct 28, 2022
ti-chi-bot
added a commit
that referenced
this issue
Oct 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
severity/moderate
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 TiFlash replica to a table, then frequently truncating the table.
2. What did you expect to see? (Required)
Only one key in the
/tiflash/table/sync
prefix in PD etcd, if the table is not synced, or no key remains, if the replica sync is finished.3. What did you see instead (Required)
Multiple keys are remained and uncleared in PD etcd. When there are too many keys left, there will be huge scan cost when querying for INFORMATION_SCHEMA.TIFLASH_REPLICA. This will affect other etcd queries and features rely on etcd, for example, DDLs.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: