Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Extras committed Oct 24, 2024
1 parent 1f9c758 commit d834651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/src/olap/memtable_memory_limiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void MemTableMemoryLimiter::handle_workload_group_memtable_flush(WorkloadGroupPt
// So that should wait here.
// Wait at most 1s, because this code is not aware cancel flag. If the load task is cancelled
// Should releae memory quickly.
using namespace std::chrono_literals;
int32_t sleep_times = 10;
while (wg != nullptr && wg->enable_load_buffer_limit() && sleep_times > 0) {
std::this_thread::sleep_for(100ms);
Expand Down

0 comments on commit d834651

Please sign in to comment.