yiguolei commented on code in PR #9890:
URL: https://github.com/apache/incubator-doris/pull/9890#discussion_r886632348
##########
be/src/olap/olap_server.cpp:
##########
@@ -72,6 +73,21 @@ Status StorageEngine::start_bg_threads() {
.set_max_threads(max_thread_num)
.build(&_compaction_thread_pool);
+ int32_t convert_rowset_thread_num = config::convert_rowset_thread_num;
+ if (convert_rowset_thread_num > 0) {
+ // alpha rowset scan thread
+ RETURN_IF_ERROR(Thread::create(
+ "StorageEngine", "alpha_rowset_scan_thread",
+ [this]() { this->_alpha_rowset_scan_thread_callback(); },
Review Comment:
启动scan 线程和 初始化thread pool 是不是需要调换一下顺序,否则scan thread 启动了,但是pool没初始化可能会挂啊
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]