Skip to content

Commit

Permalink
[fix](MoW) fix MoW & segcompaction conflict on cache of temp segment …
Browse files Browse the repository at this point in the history
…(pick apache#37760)

MoW will update delete bitmap during load, and the page cache could be
modified by segcompaction. Disable page cache touchs when doing
segcompaction could solve this problem.

Signed-off-by: freemandealer <freeman.zhang1992@gmail.com>
  • Loading branch information
freemandealer committed Jul 16, 2024
1 parent 7d09754 commit b0badca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/src/olap/rowset/segcompaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Status SegcompactionWorker::_get_segcompaction_reader(
reader_params.tablet = tablet;
reader_params.return_columns = return_columns;
reader_params.is_key_column_group = is_key;
reader_params.use_page_cache = false;
return (*reader)->init(reader_params);
}

Expand Down

0 comments on commit b0badca

Please sign in to comment.