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

Method CreateWALBlock

tempodb/encoding/versioned.go:61–61  ·  view source on GitHub ↗

CreateWALBlock creates a new appendable block for the WAL BlockMeta is used as a container for many options. Required fields: * BlockID * TenantID * Encoding * DedicatedColumns (vParquet3) * ReplicationFactor (Optional)

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

Source from the content-addressed store, hash-verified

59 // * DedicatedColumns (vParquet3)
60 // * ReplicationFactor (Optional)
61 CreateWALBlock(meta *backend.BlockMeta, filepath, dataEncoding string, ingestionSlack time.Duration) (common.WALBlock, error)
62
63 // OwnsWALBlock indicates if this encoding owns the WAL block
64 OwnsWALBlock(entry fs.DirEntry) bool

Callers 1

NewBlockMethod · 0.65

Implementers 4

Encodingtempodb/encoding/vparquet4/encoding.go
Encodingtempodb/encoding/vparquet5/encoding.go
Encodingtempodb/encoding/vparquet3/encoding.go
Encodingtempodb/encoding/unsupported/encoding.

Calls

no outgoing calls

Tested by

no test coverage detected