yujun777 commented on code in PR #37170:
URL: https://github.com/apache/doris/pull/37170#discussion_r1663376840


##########
be/src/olap/data_dir.cpp:
##########
@@ -906,8 +906,13 @@ void DataDir::disks_compaction_num_increment(int64_t 
delta) {
 }
 
 Status DataDir::move_to_trash(const std::string& tablet_path) {
-    Status res = Status::OK();
+    if (0 == config::trash_file_expire_time_sec) {

Review Comment:
   config::trash_file_expire_time_sec <= 0



-- 
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