diff --git a/cmd/thanos/compact.go b/cmd/thanos/compact.go index b4ff8f5690..6e01c21110 100644 --- a/cmd/thanos/compact.go +++ b/cmd/thanos/compact.go @@ -448,7 +448,7 @@ func runCompact( // TODO(bwplotka): Find a way to avoid syncing if no op was done. if err := sy.SyncMetas(ctx); err != nil { - return errors.Wrap(err, "sync before first pass of downsampling") + return errors.Wrap(err, "sync before retention") } if err := compact.ApplyRetentionPolicyByResolution(ctx, logger, bkt, sy.Metas(), retentionByResolution, compactMetrics.blocksMarked.WithLabelValues(metadata.DeletionMarkFilename, "")); err != nil {