Skip to content

Commit

Permalink
Change order of log for finished compacting blocks (#6966)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Deluiggi <[email protected]>
  • Loading branch information
danielblando authored Dec 7, 2023
1 parent 5cef7d9 commit e7aecb4
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 e7aecb4

Please sign in to comment.