From 45e4638e8179bb55fb23d3351862ae11301a967f Mon Sep 17 00:00:00 2001 From: Daniel Deluiggi Date: Wed, 6 Dec 2023 15:48:00 -0800 Subject: [PATCH] Change order of log for finished compacting blocks --- pkg/compact/compact.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/compact/compact.go b/pkg/compact/compact.go index 45ff06d1ffb..ae0d48bffd6 100644 --- a/pkg/compact/compact.go +++ b/pkg/compact/compact.go @@ -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 }