MCPcopy
hub / github.com/grafana/tempo / MarkBlockCompacted

Method MarkBlockCompacted

tempodb/backend/backend.go:90–90  ·  view source on GitHub ↗

MarkBlockCompacted marks a block as compacted. Call this after a block has been successfully compacted to a new block

(blockID uuid.UUID, tenantID string)

Source from the content-addressed store, hash-verified

88type Compactor interface {
89 // MarkBlockCompacted marks a block as compacted. Call this after a block has been successfully compacted to a new block
90 MarkBlockCompacted(blockID uuid.UUID, tenantID string) error
91 // ClearBlock removes a block from the backend
92 ClearBlock(blockID uuid.UUID, tenantID string) error
93 // CompactedBlockMeta returns the compacted blockmeta given a block and tenant id

Callers 10

retainTenantMethod · 0.65
markCompactedFunction · 0.65
MarkBlockCompactedMethod · 0.65
RedactBlockMethod · 0.65
TestMarkBlockCompactedFunction · 0.65
BenchmarkFullPollerFunction · 0.65
FlushMethod · 0.65
RunMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestMarkBlockCompactedFunction · 0.52
BenchmarkFullPollerFunction · 0.52