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 committed Jul 31, 2024
1 parent 290a2ac commit 726d807
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 @@ -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));
Expand Down

0 comments on commit 726d807

Please sign in to comment.