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 6c0fba491e4 [fix](compaction) fix duplicate key in agg/mor table
caused by ordered data compaction (#38224) (#38642)
6c0fba491e4 is described below
commit 6c0fba491e478c9fbf6fc6b334b76586f4645422
Author: Luwei <[email protected]>
AuthorDate: Thu Aug 1 09:48:47 2024 +0800
[fix](compaction) fix duplicate key in agg/mor table caused by ordered data
compaction (#38224) (#38642)
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 1e1ad3e2775..2619d4d40a3 100644
--- a/be/src/olap/compaction.cpp
+++ b/be/src/olap/compaction.cpp
@@ -189,7 +189,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: [email protected]
For additional commands, e-mail: [email protected]