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 c5f00fa746b [fix](move-memtable) temporary disable load stream profile 
(#28029)
c5f00fa746b is described below

commit c5f00fa746bac1256391cd8a4b78a7607d120611
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Thu Dec 7 12:05:29 2023 +0800

    [fix](move-memtable) temporary disable load stream profile (#28029)
---
 be/src/runtime/load_stream.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/be/src/runtime/load_stream.cpp b/be/src/runtime/load_stream.cpp
index 50777a70c10..febd328418e 100644
--- a/be/src/runtime/load_stream.cpp
+++ b/be/src/runtime/load_stream.cpp
@@ -241,8 +241,11 @@ Status IndexStream::close(const std::vector<PTabletID>& 
tablets_to_commit,
     return Status::OK();
 }
 
+// TODO: Profile is temporary disabled, because:
+// 1. It's not being processed by the upstream for now
+// 2. There are some problems in _profile->to_thrift()
 LoadStream::LoadStream(PUniqueId load_id, LoadStreamMgr* load_stream_mgr, bool 
enable_profile)
-        : _load_id(load_id), _enable_profile(enable_profile), 
_load_stream_mgr(load_stream_mgr) {
+        : _load_id(load_id), _enable_profile(false), 
_load_stream_mgr(load_stream_mgr) {
     _profile = std::make_unique<RuntimeProfile>("LoadStream");
     _append_data_timer = ADD_TIMER(_profile, "AppendDataTime");
     _close_wait_timer = ADD_TIMER(_profile, "CloseWaitTime");


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

Reply via email to