This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a13227cf4ba [fix](move-memtable) fix sink v2 profile (#27982)
a13227cf4ba is described below

commit a13227cf4ba7744f9345ed5f7fc951598d7808e1
Author: Kaijie Chen <[email protected]>
AuthorDate: Tue Dec 5 11:53:18 2023 +0800

    [fix](move-memtable) fix sink v2 profile (#27982)
---
 be/src/vec/sink/writer/vtablet_writer_v2.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/be/src/vec/sink/writer/vtablet_writer_v2.cpp 
b/be/src/vec/sink/writer/vtablet_writer_v2.cpp
index 74cc3d2bcf6..072b5d19912 100644
--- a/be/src/vec/sink/writer/vtablet_writer_v2.cpp
+++ b/be/src/vec/sink/writer/vtablet_writer_v2.cpp
@@ -189,8 +189,6 @@ Status VTabletWriterV2::_init(RuntimeState* state, 
RuntimeProfile* profile) {
     _is_high_priority =
             (state->execution_timeout() <= 
config::load_task_high_priority_threshold_second);
 
-    // profile must add to state's object pool
-    _profile = state->obj_pool()->add(new RuntimeProfile("VTabletWriterV2"));
     _mem_tracker =
             std::make_shared<MemTracker>("VTabletWriterV2:" + 
std::to_string(state->load_job_id()));
     SCOPED_TIMER(_profile->total_time_counter());


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

Reply via email to