Skip to content

Commit

Permalink
[fix](compaction) fix duplicate key in agg/mor table caused by ordere…
Browse files Browse the repository at this point in the history
…d data compaction (#38224)
  • Loading branch information
luwei16 authored Jul 23, 2024
1 parent cf1bc4a commit 34ccf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/olap/compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ bool is_rowset_tidy(std::string& pre_max_key, const RowsetSharedPtr& rhs) {
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));
Expand Down

0 comments on commit 34ccf3a

Please sign in to comment.