package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev

# Functions

Convert index into map of block Metas, but ignore blocks marked for deletion.
GetJobsOrderFunction returns a jobs ordering function, or nil, if name doesn't refer to any function.
IsCriticalError returns true if the base error is a CriticalError.
IsOutOfOrderChunkError returns true if the base error is a OutOfOrderChunksError.
No description provided by the author
NewBucketCompactor creates a new bucket compactor.
NewBucketCompactorMetrics makes a new BucketCompactorMetrics.
NewLabelRemoverFilter creates a LabelRemoverFilter.
NewMultitenantCompactor makes a new MultitenantCompactor.
NewNoCompactionMarkFilter creates NoCompactionMarkFilter.
NewShardAwareDeduplicateFilter creates a ShardAwareDeduplicateFilter.
NewSplitAndMergeGrouper makes a new SplitAndMergeGrouper.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
BucketCompactor compacts blocks in a bucket.
BucketCompactorMetrics holds the metrics tracked by BucketCompactor.
Config holds the MultitenantCompactor config.
CriticalError is a type wrapper for block health critical errors.
No description provided by the author
Job holds a compaction job, which consists of a group of blocks that should be compacted together.
No description provided by the author
MultitenantCompactor is a multi-tenant TSDB block compactor based on Thanos.
NoCompactionMarkFilter is a block.Fetcher filter that finds all blocks with no-compact marker files, and optionally removes them from synced metas.
OutOfOrderChunksError is a type wrapper for OOO chunk error from validating block index.
RingConfig masks the ring lifecycler config which contains many options not really required by the compactors ring.
ShardAwareDeduplicateFilter is a MetaFetcher filter that filters out older blocks that have exactly the same data.
No description provided by the author
No description provided by the author

# Interfaces

Compactor provides compaction against an underlying storage of time series data.
ConfigProvider defines the per-tenant config provider for the MultitenantCompactor.
Grouper is responsible for grouping all known blocks into concurrency safe compaction Jobs.
Planner returns blocks to compact.

# Type aliases

BlocksCompactorFactory builds and returns the compactor and planner for compacting a tenant's blocks.
BlocksGrouperFactory builds and returns the grouper to use to compact a tenant's blocks.
No description provided by the author