Skip to content

Commit

Permalink
enable logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bananabrick committed Aug 23, 2023
1 parent d9e3216 commit d9ea070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compaction_picker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ func (p *compactionPickerByScore) pickAuto(env compactionEnv) (pc *pickedCompact
if pc != nil && !inputRangeAlreadyCompacting(env, pc) {
pc.score = info.score
// TODO(bananabrick): Create an EventListener for logCompaction.
if false {
if true {
logCompaction(pc)
}
return pc
Expand All @@ -1372,7 +1372,7 @@ func (p *compactionPickerByScore) pickAuto(env compactionEnv) (pc *pickedCompact
if pc != nil && !inputRangeAlreadyCompacting(env, pc) {
pc.score = info.score
// TODO(bananabrick): Create an EventListener for logCompaction.
if false {
if true {
logCompaction(pc)
}
return pc
Expand Down

0 comments on commit d9ea070

Please sign in to comment.