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

Method WriteBlockMeta

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

WriteBlockMeta writes a block meta to its blocks

(ctx context.Context, meta *BlockMeta)

Source from the content-addressed store, hash-verified

46 StreamWriter(ctx context.Context, name string, blockID uuid.UUID, tenantID string, data io.Reader, size int64) error
47 // WriteBlockMeta writes a block meta to its blocks
48 WriteBlockMeta(ctx context.Context, meta *BlockMeta) error
49 // Append starts or continues an Append job. Pass nil to AppendTracker to start a job.
50 Append(ctx context.Context, name string, blockID uuid.UUID, tenantID string, tracker AppendTracker, buffer []byte) (AppendTracker, error)
51 // CloseAppend closes any resources associated with the AppendTracker

Callers 14

TestWriterFunction · 0.95
CopyBlockFunction · 0.65
writeBlockMetaFunction · 0.65
WriteBlockMetaMethod · 0.65
CopyBlockFunction · 0.65
writeBlockMetaFunction · 0.65
CopyBlockFunction · 0.65
writeBlockMetaFunction · 0.65
WriteBlockMetaMethod · 0.65
writeNewBlocksForTenantFunction · 0.65
writeTenantBlocksFunction · 0.65

Calls

no outgoing calls

Tested by 8

TestWriterFunction · 0.76
WriteBlockMetaMethod · 0.52
WriteBlockMetaMethod · 0.52
writeNewBlocksForTenantFunction · 0.52
writeTenantBlocksFunction · 0.52
writeTenantBlocksFunction · 0.52
writeTenantBlocksFunction · 0.52