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

Method Clear

tempodb/encoding/common/interfaces.go:147–147  ·  view source on GitHub ↗

Clear clears the block's data. Returns an error if the clear operation fails.

()

Source from the content-addressed store, hash-verified

145 // Clear clears the block's data.
146 // Returns an error if the clear operation fails.
147 Clear() error
148
149 // Tombstone marks the block deleted by renaming meta.json to
150 // meta.deleted.json. Data files stay on disk for in-flight readers

Callers 10

runWALTestWithAppendModeFunction · 0.65
consumeMethod · 0.65
TestLiveStoreQueryRangeFunction · 0.65
completeBlockMethod · 0.65
deleteOldBlocksMethod · 0.65
processCompleteOpMethod · 0.65
runFlushLoopMethod · 0.65
TestExclusiveQueuesFunction · 0.65
TestExclusiveQueueLocksFunction · 0.65
TestConcurrentDequeueFunction · 0.65

Implementers 3

walBlocktempodb/encoding/vparquet4/wal_block.g
walBlocktempodb/encoding/vparquet5/wal_block.g
walBlocktempodb/encoding/vparquet3/wal_block.g

Calls

no outgoing calls

Tested by 5

runWALTestWithAppendModeFunction · 0.52
TestLiveStoreQueryRangeFunction · 0.52
TestExclusiveQueuesFunction · 0.52
TestExclusiveQueueLocksFunction · 0.52
TestConcurrentDequeueFunction · 0.52