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 <[email protected]>
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 <[email protected]>
Co-authored-by: zhengyu <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]