LeveledCompactor implements the Compactor interface.
| 78 | |
| 79 | // LeveledCompactor implements the Compactor interface. |
| 80 | type LeveledCompactor struct { |
| 81 | metrics *CompactorMetrics |
| 82 | logger *slog.Logger |
| 83 | ranges []int64 |
| 84 | chunkPool chunkenc.Pool |
| 85 | ctx context.Context |
| 86 | maxBlockChunkSegmentSize int64 |
| 87 | useUncachedIO bool |
| 88 | mergeFunc storage.VerticalChunkSeriesMergeFunc |
| 89 | blockExcludeFunc BlockExcludeFilterFunc |
| 90 | postingsEncoder index.PostingsEncoder |
| 91 | postingsDecoderFactory PostingsDecoderFactory |
| 92 | enableOverlappingCompaction bool |
| 93 | } |
| 94 | |
| 95 | type CompactorMetrics struct { |
| 96 | Ran prometheus.Counter |
nothing calls this directly
no outgoing calls
no test coverage detected