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
[feature](cache) Add FileCache for RemoteFile #11186
Conversation
Please add header of title according to the Requirement https://doris.apache.org/zh-CN/community/how-to-contribute/commit-format-specification |
issue: 11185 Add FileCache for RemoteFile, it will be opened in StoragePolicy. Cold data in remote file will be download to local cache files.
issue: 11185 Add FileCache for RemoteFile, it will be opened in StoragePolicy. Cold data in remote file will be download to local cache files.
be/src/common/config.h
Outdated
CONF_mInt64(cooldown_lag_time_sec, "10800"); // 3h | ||
CONF_mInt64(max_sub_cache_file_size, "1073741824"); // 1GB | ||
CONF_mInt64(file_cache_alive_time_sec, "604800"); // 1 week | ||
CONF_String(file_cache_type, ""); |
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.
better add a comment to describe the possible value
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. |
Proposed changes
Issue Number: close #11185
Problem Summary:
Add FileCache for RemoteFile, it will be opened in StoragePolicy.
Cold data in remote file will be download to local cache files.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...