Skip to content

Commit

Permalink
[fix](move-memtable) temporary disable load stream profile (apache#28029
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kaijchen authored Dec 7, 2023
1 parent 8c79b86 commit c5f00fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion be/src/runtime/load_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c5f00fa

Please sign in to comment.