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/01 09:36:30 UTC
[GitHub] [incubator-doris] morningman commented on a diff in pull request #9336: set name for scanner threads and fix compile error in clang
morningman commented on code in PR #9336:
URL: https://github.com/apache/incubator-doris/pull/9336#discussion_r862448764
##########
be/src/exec/olap_scan_node.cpp:
##########
@@ -1527,6 +1527,7 @@ void OlapScanNode::transfer_thread(RuntimeState* state) {
void OlapScanNode::scanner_thread(OlapScanner* scanner) {
SCOPED_ATTACH_TASK_THREAD(_runtime_state, mem_tracker());
ADD_THREAD_LOCAL_MEM_TRACKER(scanner->mem_tracker());
+ Thread::set_self_name("olap_sanner");
Review Comment:
```suggestion
Thread::set_self_name("olap_scanner");
```
--
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