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

Method WriteTenantIndex

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

WriteTenantIndex writes the two meta slices as a tenant index

(ctx context.Context, tenantID string, meta []*BlockMeta, compactedMeta []*CompactedBlockMeta)

Source from the content-addressed store, hash-verified

52 CloseAppend(ctx context.Context, tracker AppendTracker) error
53 // WriteTenantIndex writes the two meta slices as a tenant index
54 WriteTenantIndex(ctx context.Context, tenantID string, meta []*BlockMeta, compactedMeta []*CompactedBlockMeta) error
55 // Delete deletes an object.
56 Delete(ctx context.Context, name string, keypath KeyPath) error
57 // WriteNoCompactFlag writes the nocompact flag to prevent a block from being compacted

Callers 4

TestWriterFunction · 0.95
BenchmarkIndexLoadFunction · 0.95
TestTenantIndexFallbackFunction · 0.65

Calls

no outgoing calls

Tested by 3

TestWriterFunction · 0.76
BenchmarkIndexLoadFunction · 0.76
TestTenantIndexFallbackFunction · 0.52