xinyiZzz commented on a change in pull request #8322:
URL: https://github.com/apache/incubator-doris/pull/8322#discussion_r820638296



##########
File path: be/src/olap/task/engine_alter_tablet_task.cpp
##########
@@ -18,13 +18,21 @@
 #include "olap/task/engine_alter_tablet_task.h"
 
 #include "olap/schema_change.h"
+#include "runtime/mem_tracker.h"
 
 namespace doris {
 
 using std::to_string;
 
 EngineAlterTabletTask::EngineAlterTabletTask(const TAlterTabletReqV2& request)
-        : _alter_tablet_req(request) {}
+        : _alter_tablet_req(request) {
+    _mem_tracker = MemTracker::create_tracker(

Review comment:
       done

##########
File path: be/src/olap/task/engine_batch_load_task.h
##########
@@ -76,6 +76,8 @@ class EngineBatchLoadTask : public EngineTask {
     AgentStatus* _res_status;
     std::string _remote_file_path;
     std::string _local_file_path;
+
+    std::shared_ptr<MemTracker> _mem_tracker;

Review comment:
       done




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