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

Method WriteBlockMeta

tempodb/encoding/vparquet4/compactor_test.go:222–226  ·  view source on GitHub ↗
(ctx context.Context, meta *backend.BlockMeta)

Source from the content-addressed store, hash-verified

220}
221
222func (w *slowWriter) WriteBlockMeta(ctx context.Context, meta *backend.BlockMeta) error {
223 w.wait <- struct{}{} // send a signal to a goroutine
224 <-w.wait // wait for the signal from the goroutine
225 return w.Writer.WriteBlockMeta(ctx, meta)
226}
227
228func TestWriteBlockMetaWithNoCompactFlag(t *testing.T) {
229 tempDir := t.TempDir()

Callers

nothing calls this directly

Calls 1

WriteBlockMetaMethod · 0.65

Tested by

no test coverage detected