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
#38992)

…(#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>
Co-authored-by: zhengyu <freeman.zhang1992@gmail.com>
  • Loading branch information
dataroaring and freemandealer authored Aug 7, 2024
1 parent fd3f950 commit 91dcaaf
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 @@ -102,6 +102,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, nullptr);
}

Expand Down

0 comments on commit 91dcaaf

Please sign in to comment.