Skip to content

Commit

Permalink
feat: remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
devanbenz committed Dec 16, 2024
1 parent cc7163a commit 7de2cf2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsdb/engine/tsm1/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ func (c *DefaultPlanner) PlanOptimize() ([]CompactionGroup, int64, int64) {

// If there is a single generation, no tombstones, and the entire group size (all TSM files in the generation)
// is over or equal to 2 GB (Max TSM file size) there is nothing to do and we will return.
// for more information regarding this logic.
if len(generations) == 1 && generations[0].size() >= uint64(maxTSMFileSize) && !generations.hasTombstones() {
return nil, 0, 0
}
Expand Down

0 comments on commit 7de2cf2

Please sign in to comment.