This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new afdb06038fd [bug](mem_tracker) fix mem_tracker dcheck failed as not
used correctly (#33349) (#33486)
afdb06038fd is described below
commit afdb06038fdfac2bc8188de8c8fb8f67a2d14a42
Author: zhangstar333 <[email protected]>
AuthorDate: Wed Apr 10 19:55:03 2024 +0800
[bug](mem_tracker) fix mem_tracker dcheck failed as not used correctly
(#33349) (#33486)
* [bug](mem_tracker) fix mem_tracker dcheck failed as not used correctly
---
be/src/http/action/checksum_action.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/http/action/checksum_action.cpp
b/be/src/http/action/checksum_action.cpp
index fc216ab785c..5954b436022 100644
--- a/be/src/http/action/checksum_action.cpp
+++ b/be/src/http/action/checksum_action.cpp
@@ -105,6 +105,7 @@ int64_t ChecksumAction::do_checksum(int64_t tablet_id,
int64_t version, int32_t
Status res = Status::OK();
uint32_t checksum;
EngineChecksumTask engine_task(tablet_id, schema_hash, version, &checksum);
+ SCOPED_ATTACH_TASK(engine_task.mem_tracker());
res = engine_task.execute();
if (!res.ok()) {
LOG(WARNING) << "checksum failed. status: " << res << ", signature: "
<< tablet_id;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]