zhangstar333 commented on code in PR #69422:
URL: https://github.com/apache/doris/pull/69422#discussion_r4344812300
##########
be/src/load/channel/load_stream_mgr.h:
##########
@@ -53,8 +53,10 @@ class LoadStreamMgr {
return result;
}
- // only used by ut
- size_t get_load_stream_num() { return _load_streams_map.size(); }
+ size_t get_load_stream_num() {
+ std::lock_guard<std::mutex> lock(_lock);
Review Comment:
https://github.com/apache/doris/pull/69422/changes/77426a5992ccda1ac49cc653420a4cf002f36c70
--
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]