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 9a40cd5f9fa [fix](compaction) fix duplicate key in agg/mor table 
caused by ordered data compaction (#38224) (#38299)
9a40cd5f9fa is described below

commit 9a40cd5f9fa0a0073c1fc64fbf3455aaea9c75ab
Author: Luwei <814383...@qq.com>
AuthorDate: Wed Jul 24 19:03:40 2024 +0800

    [fix](compaction) fix duplicate key in agg/mor table caused by ordered data 
compaction (#38224) (#38299)
    
    pick master #38224
---
 be/src/olap/compaction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/compaction.cpp b/be/src/olap/compaction.cpp
index ae886118ea7..171b68f30b6 100644
--- a/be/src/olap/compaction.cpp
+++ b/be/src/olap/compaction.cpp
@@ -198,7 +198,7 @@ bool Compaction::is_rowset_tidy(std::string& pre_max_key, 
const RowsetSharedPtr&
     if (!ret) {
         return false;
     }
-    if (min_key < pre_max_key) {
+    if (min_key <= pre_max_key) {
         return false;
     }
     CHECK(rhs->max_key(&pre_max_key));


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

Reply via email to