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

Method OpenWALBlock

tempodb/encoding/vparquet3/encoding.go:49–51  ·  view source on GitHub ↗

OpenWALBlock opens an existing appendable block

(filename, path string, ingestionSlack, additionalStartSlack time.Duration)

Source from the content-addressed store, hash-verified

47
48// OpenWALBlock opens an existing appendable block
49func (v Encoding) OpenWALBlock(filename, path string, ingestionSlack, additionalStartSlack time.Duration) (common.WALBlock, error, error) {
50 return openWALBlock(filename, path, ingestionSlack, additionalStartSlack)
51}
52
53// CreateWALBlock creates a new appendable block
54func (v Encoding) CreateWALBlock(meta *backend.BlockMeta, filepath, dataEncoding string, ingestionSlack time.Duration) (common.WALBlock, error) {

Callers

nothing calls this directly

Calls 1

openWALBlockFunction · 0.70

Tested by

no test coverage detected