Skip to content

Commit

Permalink
[AMORO-2509] Rollback the trigger condition of minor compaction (#2514)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongqishang authored Jan 25, 2024
1 parent 6e54b95 commit 71680f2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ public boolean isMajorNecessary() {
public boolean isMinorNecessary() {
int smallFileCount = fragmentFileCount + equalityDeleteFileCount;
return smallFileCount >= config.getMinorLeastFileCount()
|| (smallFileCount > 1 && reachMinorInterval())
|| rewritePosSegmentFileCount > 0;
|| (smallFileCount > 1 && reachMinorInterval());
}

protected boolean reachMinorInterval() {
Expand Down

0 comments on commit 71680f2

Please sign in to comment.