Skip to content

Commit

Permalink
branch-3.0: [improve](load) do not block delta writer if memtable mem…
Browse files Browse the repository at this point in the history
…ory is low #42649 (#43943)

Cherry-picked from #42649

Co-authored-by: Kaijie Chen <[email protected]>
  • Loading branch information
github-actions[bot] and kaijchen authored Nov 14, 2024
1 parent 83f3dbd commit b85c394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/olap/memtable_memory_limiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void MemTableMemoryLimiter::handle_memtable_flush() {
<< ", flush: " << PrettyPrinter::print_bytes(_flush_mem_usage);
_flush_active_memtables(need_flush);
}
} while (_hard_limit_reached());
} while (_hard_limit_reached() && !_load_usage_low());
g_memtable_memory_limit_waiting_threads << -1;
timer.stop();
int64_t time_ms = timer.elapsed_time() / 1000 / 1000;
Expand Down

0 comments on commit b85c394

Please sign in to comment.