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

Struct walBlock

tempodb/encoding/vparquet5/wal_block.go:305–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305type walBlock struct {
306 meta *backend.BlockMeta
307 path string
308 ingestionSlack time.Duration
309 dedcolsRes dedicatedColumnMapping
310 dedcolsSpan dedicatedColumnMapping
311 dedcolsEvent dedicatedColumnMapping
312
313 // Unflushed data
314 buffer *Trace
315 ids *common.IDMap[int64]
316 file *os.File
317 writer *parquet.GenericWriter[*Trace]
318 decoder model.ObjectDecoder
319 unflushedSize int64
320
321 // Flushed data
322 flushed []*walBlockFlush
323 flushedSize int64
324 mtx sync.Mutex
325}
326
327func (b *walBlock) readFlushes() []*walBlockFlush {
328 b.mtx.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected