Skip to content

Commit

Permalink
add case
Browse files Browse the repository at this point in the history
  • Loading branch information
mymeiyi committed Dec 10, 2024
1 parent bf758d3 commit b66dc6e
Show file tree
Hide file tree
Showing 4 changed files with 8,307 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/olap/memtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,9 @@ void MemTable::shrink_memtable_by_agg() {
}

bool MemTable::need_flush() const {
DBUG_EXECUTE_IF("MemTable.need_flush", {
return true;
});
auto max_size = config::write_buffer_size;
if (_partial_update_mode == UniqueKeyUpdateModePB::UPDATE_FIXED_COLUMNS) {
auto update_columns_size = _num_columns;
Expand Down
Loading

0 comments on commit b66dc6e

Please sign in to comment.