This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 5ac57dd85a7 branch-4.0: [Chore](profile) adjust some profile #58861
(#58956)
5ac57dd85a7 is described below
commit 5ac57dd85a7f63d3cae62dd649a3d729f2997436
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 12 09:21:31 2025 +0800
branch-4.0: [Chore](profile) adjust some profile #58861 (#58956)
Cherry-picked from #58861
Co-authored-by: Pxl <[email protected]>
---
be/src/pipeline/pipeline_task.cpp | 1 -
be/src/vec/sink/vdata_stream_sender.cpp | 4 ----
2 files changed, 5 deletions(-)
diff --git a/be/src/pipeline/pipeline_task.cpp
b/be/src/pipeline/pipeline_task.cpp
index 0f3309da395..bf787f05105 100644
--- a/be/src/pipeline/pipeline_task.cpp
+++ b/be/src/pipeline/pipeline_task.cpp
@@ -543,7 +543,6 @@ Status PipelineTask::execute(bool* done) {
SCOPED_TIMER(_sink_timer);
Status status = Status::OK();
DEFER_RELEASE_RESERVED();
- COUNTER_UPDATE(_memory_reserve_times, 1);
if (_state->get_query_ctx()
->resource_ctx()
->task_controller()
diff --git a/be/src/vec/sink/vdata_stream_sender.cpp
b/be/src/vec/sink/vdata_stream_sender.cpp
index a05ce66ff98..6ff6bcb731c 100644
--- a/be/src/vec/sink/vdata_stream_sender.cpp
+++ b/be/src/vec/sink/vdata_stream_sender.cpp
@@ -138,10 +138,6 @@ Status Channel::add_rows(Block* block, const uint32_t*
data, const uint32_t offs
if (_pblock == nullptr) {
_pblock = std::make_unique<PBlock>();
}
- int64_t old_channel_mem_usage = mem_usage();
- Defer update_mem([&]() {
- COUNTER_UPDATE(_parent->memory_used_counter(), mem_usage() -
old_channel_mem_usage);
- });
RETURN_IF_ERROR(_serializer.next_serialized_block(block, _pblock.get(), 1,
&serialized, eos,
data, offset, size));
if (serialized) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]