Uh oh!
There was an error while loading. Please reload this page.
[enhancement](cloud) Persist LRU information for file cache - #49456
Conversation
Thearas
commented
Mar 25, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
483fdea to
2a3f85cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
freemandealer
commented
May 15, 2025
run buildall |
The PR is still under optimization, but comments are welcomed. The following features are not included in this PR:
|
freemandealer
commented
May 16, 2025
run buildall |
freemandealer
commented
Jun 23, 2025
run buildall |
hello-stephen
commented
Jun 23, 2025
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f866c2a to
48a9982Comparee319eb1 to
fe841a1Comparefreemandealer
commented
Jun 26, 2025
run buildall |
hello-stephen
commented
Jun 26, 2025
FE UT Coverage ReportIncrement line coverage `` 🎉 |
doris-robot
commented
Jun 26, 2025
TPC-H: Total hot run time: 34139 ms |
doris-robot
commented
Jun 26, 2025
TPC-DS: Total hot run time: 184748 ms |
hello-stephen
commented
Jul 4, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
freemandealer
commented
Jul 4, 2025
run cloud_p0 |
freemandealer
commented
Jul 4, 2025
run feut |
freemandealer
commented
Jul 4, 2025
run external |
hello-stephen
commented
Jul 4, 2025
FE UT Coverage ReportIncrement line coverage `` 🎉 |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…9456) When the system restarts, the LRU queue in memory is lost due to lack of persistence. This requires re-scanning the disk directory to load data, leading to the following issues: 1. The loading order after restart depends on directory traversal, and the original eviction order cannot be preserved. 2. If the system enters resource limit mode after restart, it may mistakenly delete frequently accessed hot data by users. In this commit, we periodically dump the LRU queue information to disk and rebuild the LRU queue upon restart. Considering that the LRU content may be extensive, we only dump the tail end (the part that will be evicted first) of the LRU queue, with the specific quantity configured by the config.
…9456) When the system restarts, the LRU queue in memory is lost due to lack of persistence. This requires re-scanning the disk directory to load data, leading to the following issues: 1. The loading order after restart depends on directory traversal, and the original eviction order cannot be preserved. 2. If the system enters resource limit mode after restart, it may mistakenly delete frequently accessed hot data by users. In this commit, we periodically dump the LRU queue information to disk and rebuild the LRU queue upon restart. Considering that the LRU content may be extensive, we only dump the tail end (the part that will be evicted first) of the LRU queue, with the specific quantity configured by the config.
…che#49456apache#53969) to make osx happy Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
When the system restarts, the LRU queue in memory is lost due to lack of persistence. This requires re-scanning the disk directory to load data, leading to the following issues:
In this commit, we periodically dump the LRU queue information to disk and rebuild the LRU queue upon restart. Considering that the LRU content may be extensive, we only dump the tail end (the part that will be evicted first) of the LRU queue, with the specific quantity configured by the config.
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)