This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 91dcaaf7ddc [fix](MoW) fix MoW & segcompaction conflict on cache of 
temp segment … (#38992)
91dcaaf7ddc is described below

commit 91dcaaf7ddc1fe6e5dd7051ab5b83368f73b660f
Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Wed Aug 7 21:18:10 2024 +0800

    [fix](MoW) fix MoW & segcompaction conflict on cache of temp segment … 
(#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.zhang1...@gmail.com>
    Co-authored-by: zhengyu <freeman.zhang1...@gmail.com>
---
 be/src/olap/rowset/segcompaction.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/olap/rowset/segcompaction.cpp 
b/be/src/olap/rowset/segcompaction.cpp
index 9f7f0ec91f4..1c152c75c0f 100644
--- a/be/src/olap/rowset/segcompaction.cpp
+++ b/be/src/olap/rowset/segcompaction.cpp
@@ -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);
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to