yujun777 opened a new pull request, #37648:
URL: https://github.com/apache/doris/pull/37648

   long time ago, doris may miss data due to program bug:
   1) during migrate or clone,  may cause new replica miss 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 use 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.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to