-
Notifications
You must be signed in to change notification settings - Fork 411
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
PageStorage gc for external pages my block creating tables #5697
Labels
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Comments
JaySon-Huang
added
type/bug
The issue is confirmed as a bug.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
labels
Aug 25, 2022
And calling
get alive external page for one namespace id inside loop, "get alive" takes about 100ms
get alive external page for all namespace ids, "get alive" takes about 3ms
|
12 tasks
JaySon-Huang
added
severity/moderate
severity/major
and removed
severity/moderate
labels
Aug 25, 2022
This was referenced Aug 29, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Aug 31, 2022
This was referenced Aug 31, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Sep 5, 2022
This was referenced Sep 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
component/storage
severity/major
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)
In
PageStorageImpl::gcImpl
clean_external_page
, we hold thecallbacks_mutex
until all external page gc done.tiflash/dbms/src/Storages/Page/V3/PageStorageImpl.cpp
Lines 287 to 298 in 7acf7f5
while the time cost in
clean_external_page
is not ignorable and may block new StorageDeltaMerge from being createdtiflash/dbms/src/Storages/Page/V3/PageStorageImpl.cpp
Lines 400 to 408 in 7acf7f5
tiflash/dbms/src/Storages/DeltaMerge/DeltaMergeStore.cpp
Lines 342 to 343 in 7acf7f5
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
master
The text was updated successfully, but these errors were encountered: