dataroaring commented on code in PR #48759:
URL: https://github.com/apache/doris/pull/48759#discussion_r2018679155


##########
be/src/cloud/cloud_storage_engine.cpp:
##########
@@ -631,6 +630,24 @@ Status 
CloudStorageEngine::_submit_base_compaction_task(const CloudTabletSPtr& t
     return st;
 }
 
+bool CloudStorageEngine::_cloud_should_delay_big_task() {
+    CHECK_GE(_cumu_compaction_thread_pool->max_threads(),
+             _cumu_compaction_thread_pool_used_threads);
+    CHECK_GE(_cumu_compaction_thread_pool_small_tasks_running, 0);

Review Comment:
   DCHECK is enough.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to