Skip to content

Commit

Permalink
Compact: Enable metadata cache
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Wiedler <iwiedler@gitlab.com>
  • Loading branch information
igorwwwwwwwwwwwwwwwwwwww committed Oct 6, 2022
1 parent ec19a0e commit cb902f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/compact.go
Expand Up @@ -234,7 +234,7 @@ func runCompact(
consistencyDelayMetaFilter := block.NewConsistencyDelayMetaFilter(logger, conf.consistencyDelay, extprom.WrapRegistererWithPrefix("thanos_", reg))
timePartitionMetaFilter := block.NewTimePartitionMetaFilter(conf.filterConf.MinTime, conf.filterConf.MaxTime)

baseMetaFetcher, err := block.NewBaseFetcher(logger, conf.blockMetaFetchConcurrency, bkt, "", extprom.WrapRegistererWithPrefix("thanos_", reg))
baseMetaFetcher, err := block.NewBaseFetcher(logger, conf.blockMetaFetchConcurrency, bkt, conf.dataDir, extprom.WrapRegistererWithPrefix("thanos_", reg))
if err != nil {
return errors.Wrap(err, "create meta fetcher")
}
Expand Down

0 comments on commit cb902f1

Please sign in to comment.