You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/03 05:48:09 UTC

[GitHub] [incubator-doris] xinyiZzz commented on a diff in pull request #9301: [feature-wip] (memory tracker) (step6, End) Fix some details

xinyiZzz commented on code in PR #9301:
URL: https://github.com/apache/incubator-doris/pull/9301#discussion_r863491927


##########
be/src/exec/tablet_sink.cpp:
##########
@@ -50,7 +50,7 @@ NodeChannel::NodeChannel(OlapTableSink* parent, IndexChannel* index_channel, int
         _tuple_data_buffer_ptr = &_tuple_data_buffer;
     }
     _node_channel_tracker =
-            MemTracker::create_tracker(-1, "NodeChannel" + tls_ctx()->thread_id_str());
+            MemTracker::create_tracker(-1, "NodeChannel:" + std::to_string(_index_channel->_index_id));

Review Comment:
   You are right, I forgot, I will use both _index_id and thread_id.



-- 
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-unsubscribe@doris.apache.org

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


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