You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2023/12/05 03:31:02 UTC
(doris) branch master updated: [fix](move-memtable) only report load stream profile in the end (#27983)
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 75d0beb8cc7 [fix](move-memtable) only report load stream profile in the end (#27983)
75d0beb8cc7 is described below
commit 75d0beb8cc7450e144ec56701375f86e60a35a44
Author: Kaijie Chen <ck...@apache.org>
AuthorDate: Tue Dec 5 11:30:54 2023 +0800
[fix](move-memtable) only report load stream profile in the end (#27983)
---
be/src/runtime/load_stream.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/runtime/load_stream.cpp b/be/src/runtime/load_stream.cpp
index 21bfc8a1983..50777a70c10 100644
--- a/be/src/runtime/load_stream.cpp
+++ b/be/src/runtime/load_stream.cpp
@@ -338,7 +338,7 @@ void LoadStream::_report_result(StreamId stream, const Status& st,
response.add_failed_tablet_ids(id);
}
- if (_enable_profile) {
+ if (_enable_profile && _close_load_cnt == _total_streams) {
TRuntimeProfileTree tprofile;
ThriftSerializer ser(false, 4096);
uint8_t* buf = nullptr;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org