-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[config](trash) change trash_file_expire_time_sec to 0 #37648
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
[config](trash) change trash_file_expire_time_sec to 0 #37648
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
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. |
deardeng
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 anyone and no changes requested. |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 39941 ms |
TPC-DS: Total hot run time: 174509 ms |
ClickBench: Total hot run time: 30.65 s |
|
run p0 |
1 similar comment
|
run p0 |
zhannngchen
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
long time ago, doris may lost data due to program bug: 1) during migrate or clone, may cause new replica lost data; 2) a tablet may delete all its replicas. But all these bugs had been solved. Now trash is useless. There's hardly no user use trash to restore data for prod env. Even a user can use a http to restore data from trash, it still cann't use immedidately because fe not contains its meta. On the other hand, trash has cause other problems: 1) make unbalance because not deleleted the trash data; 2) be chose disks not RR because the disks may suddently delete a lot trash data when disk's usage over 80%; 3) had more disk load. Considering all this, we make trash_file_expire_time_sec change to 0. If user really want to keep trash, they need to set trash_file_expire_time_sec > 0 manually.
long time ago, doris may lost data due to program bug: 1) during migrate or clone, may cause new replica lost data; 2) a tablet may delete all its replicas. But all these bugs had been solved. Now trash is useless. There's hardly no user use trash to restore data for prod env. Even a user can use a http to restore data from trash, it still cann't use immedidately because fe not contains its meta. On the other hand, trash has cause other problems: 1) make unbalance because not deleleted the trash data; 2) be chose disks not RR because the disks may suddently delete a lot trash data when disk's usage over 80%; 3) had more disk load. Considering all this, we make trash_file_expire_time_sec change to 0. If user really want to keep trash, they need to set trash_file_expire_time_sec > 0 manually.
long time ago, doris may lost data due to program bug: 1) during migrate or clone, may cause new replica lost data; 2) a tablet may delete all its replicas. But all these bugs had been solved. Now trash is useless. There's hardly no user use trash to restore data for prod env. Even a user can use a http to restore data from trash, it still cann't use immedidately because fe not contains its meta. On the other hand, trash has cause other problems: 1) make unbalance because not deleleted the trash data; 2) be chose disks not RR because the disks may suddently delete a lot trash data when disk's usage over 80%; 3) had more disk load. Considering all this, we make trash_file_expire_time_sec change to 0. If user really want to keep trash, they need to set trash_file_expire_time_sec > 0 manually.
long time ago, doris may lost data due to program bug:
But all these bugs had been solved. Now trash is useless. There's hardly no user use trash to restore data for prod env. Even a user can use a http to restore data from trash, it still cann't use immedidately because fe not contains its meta.
On the other hand, trash has cause other problems:
Considering all this, we make trash_file_expire_time_sec change to 0. If user really want to keep trash, they need to set trash_file_expire_time_sec > 0 manually.