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

Method CompleteBlock

tempodb/tempodb.go:248–250  ·  view source on GitHub ↗

CompleteBlock iterates the given WAL block and flushes it to the TempoDB backend.

(ctx context.Context, block common.WALBlock)

Source from the content-addressed store, hash-verified

246
247// CompleteBlock iterates the given WAL block and flushes it to the TempoDB backend.
248func (rw *readerWriter) CompleteBlock(ctx context.Context, block common.WALBlock) (common.BackendBlock, error) {
249 return rw.CompleteBlockWithBackend(ctx, block, rw.r, rw.w)
250}
251
252// CompleteBlockWithBackend iterates the given WAL block but flushes it to the given backend instead of the default TempoDB backend. The
253// new block will have the same ID as the input block.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected