This is an automated email from the ASF dual-hosted git repository.
zhangstar333 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 32a3a9ecbb8 [bug](mem_tracker) fix mem_tracker dcheck failed as not
used correctly (#33349)
32a3a9ecbb8 is described below
commit 32a3a9ecbb8c6d8d9b92ebb7a2dbd387628ad3d0
Author: zhangstar333 <[email protected]>
AuthorDate: Tue Apr 9 14:21:35 2024 +0800
[bug](mem_tracker) fix mem_tracker dcheck failed as not used correctly
(#33349)
* [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 e0db8afc8e7..00eb0fd7f71 100644
--- a/be/src/http/action/checksum_action.cpp
+++ b/be/src/http/action/checksum_action.cpp
@@ -106,6 +106,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(_engine, 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]