Skip to content

Commit

Permalink
[fix](merge-cloud) fix cloud cumu compaction thread not initializing …
Browse files Browse the repository at this point in the history
…thread loaca context (apache#32181)
  • Loading branch information
luwei16 authored Mar 13, 2024
1 parent 7137ed3 commit 65fc660
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/cloud/cloud_cumulative_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ Status CloudCumulativeCompaction::prepare_compact() {
Status CloudCumulativeCompaction::execute_compact() {
TEST_SYNC_POINT_RETURN_WITH_VALUE("CloudCumulativeCompaction::execute_compact_impl",
Status::OK(), this);

SCOPED_ATTACH_TASK(_mem_tracker);

using namespace std::chrono;
auto start = steady_clock::now();
RETURN_IF_ERROR(CloudCompactionMixin::execute_compact());
Expand Down

0 comments on commit 65fc660

Please sign in to comment.