You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2024/07/18 14:42:52 UTC

(doris) branch branch-2.0 updated: [fix](MoW) fix MoW & segcompaction conflict on cache of temp segment (pick #37760) (#37938)

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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new c2a950b1a89 [fix](MoW) fix MoW & segcompaction conflict on cache of temp segment (pick #37760) (#37938)
c2a950b1a89 is described below

commit c2a950b1a89c99dc8c31c65a7e0d85cb155190be
Author: zhengyu <fr...@gmail.com>
AuthorDate: Thu Jul 18 22:42:45 2024 +0800

    [fix](MoW) fix MoW & segcompaction conflict on cache of temp segment (pick #37760) (#37938)
    
    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.
    
    ## Proposed changes
    
    Issue Number: close #xxx
    
    <!--Describe your changes.-->
    
    Signed-off-by: freemandealer <fr...@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 6b0635e0f77..15d8c3a2438 100644
--- a/be/src/olap/rowset/segcompaction.cpp
+++ b/be/src/olap/rowset/segcompaction.cpp
@@ -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);
 }
 


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