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

Method CreateWALBlock

tempodb/encoding/vparquet3/encoding.go:54–56  ·  view source on GitHub ↗

CreateWALBlock creates a new appendable block

(meta *backend.BlockMeta, filepath, dataEncoding string, ingestionSlack time.Duration)

Source from the content-addressed store, hash-verified

52
53// CreateWALBlock creates a new appendable block
54func (v Encoding) CreateWALBlock(meta *backend.BlockMeta, filepath, dataEncoding string, ingestionSlack time.Duration) (common.WALBlock, error) {
55 return createWALBlock(meta, filepath, dataEncoding, ingestionSlack)
56}
57
58func (v Encoding) OwnsWALBlock(entry fs.DirEntry) bool {
59 return ownsWALBlock(entry)

Callers

nothing calls this directly

Calls 1

createWALBlockFunction · 0.70

Tested by

no test coverage detected