Skip to content

Commit

Permalink
Change order of log for finished compacting blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielblando committed Dec 6, 2023
1 parent 5cef7d9 commit 45e4638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/compact/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -1286,8 +1286,8 @@ func (cg *Group) compact(ctx context.Context, dir string, planner Planner, comp
}
level.Info(cg.logger).Log("msg", "finished running post compaction callback", "result_block", compID)

level.Info(cg.logger).Log("msg", "finished compacting blocks", "result_block", compID, "source_blocks", sourceBlockStr,
"duration", time.Since(groupCompactionBegin), "duration_ms", time.Since(groupCompactionBegin).Milliseconds())
level.Info(cg.logger).Log("msg", "finished compacting blocks", "duration", time.Since(groupCompactionBegin),
"duration_ms", time.Since(groupCompactionBegin).Milliseconds(), "result_block", compID, "source_blocks", sourceBlockStr)
return true, compID, nil
}

Expand Down

0 comments on commit 45e4638

Please sign in to comment.