xinyiZzz commented on a change in pull request #8322: URL: https://github.com/apache/incubator-doris/pull/8322#discussion_r820212977
########## 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: Yes, the mem_tracker in xxx_task will be used in Thread Local after waiting. Do you think you should delete it first? -- 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