-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](cloud) batch process ttl cache block gc to limit lock held time once in a time (pick#50387) #50402
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
Conversation
… once in a time (pick#50387) pick#50387pick#50387pick#50387pick#50387pick#50387pick#50387pick#50387 too many ttl cache blocks gc will burst the cache lock latency and thus affect the query latency. limit them into batches to unleash the lock. Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
| DEFINE_mBool(enable_file_cache_keep_base_compaction_output, "false"); | ||
| DEFINE_mInt64(file_cache_remove_block_qps_limit, "1000"); | ||
| DEFINE_mInt64(file_cache_background_gc_interval_ms, "100"); | ||
| DEFINE_mInt64(file_cache_background_monitor_interval_ms, "5000"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this config do not used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cambyzju indeed, I'll delete it in later PR (this is a pick). thanks for pointing that out!
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
… once in a time (pick#50387) (#50402) pick#50387 too many ttl cache blocks gc will burst the cache lock latency and thus affect the query latency. limit them into batches to unleash the lock.
pick #50387
too many ttl cache blocks gc will burst the cache lock latency and thus affect the query latency. limit them into batches to unleash the lock.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)