This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new e8cd01129ff [fix](compaction) skip tablets with compaction score 0
during compaction (#55550)
e8cd01129ff is described below
commit e8cd01129ff63c96ddfc2985f802b2cc9c9f1e12
Author: Luwei <[email protected]>
AuthorDate: Tue Sep 2 13:19:54 2025 +0800
[fix](compaction) skip tablets with compaction score 0 during compaction
(#55550)
---
be/src/olap/tablet_manager.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/be/src/olap/tablet_manager.cpp b/be/src/olap/tablet_manager.cpp
index 05340298962..80fb14c5e22 100644
--- a/be/src/olap/tablet_manager.cpp
+++ b/be/src/olap/tablet_manager.cpp
@@ -801,6 +801,10 @@ std::vector<TabletSharedPtr>
TabletManager::find_best_tablets_to_compaction(
tablet_ptr->set_skip_compaction(true, compaction_type,
UnixSeconds());
}
+ if (current_compaction_score <= 0) {
+ return;
+ }
+
// tablet should do single compaction
if (current_compaction_score > single_compact_highest_score &&
tablet_ptr->should_fetch_from_peer()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]