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

Method Requeue

pkg/flushqueues/exclusivequeues.go:42–45  ·  view source on GitHub ↗

Requeue adds an op that is presumed to already be covered by activeKeys

(op T)

Source from the content-addressed store, hash-verified

40
41// Requeue adds an op that is presumed to already be covered by activeKeys
42func (f *ExclusiveQueues[T]) Requeue(op T) error {
43 _, err := f.queue.Enqueue(op)
44 return err
45}
46
47// Clear unblocks the requested op. This should be called only after a flush has been successful
48func (f *ExclusiveQueues[T]) Clear(op T) {

Callers 5

EnqueueMethod · 0.95
requeueOpMethod · 0.80
requeueAfterMethod · 0.80
TestExclusiveQueuesFunction · 0.80
TestExclusiveQueueLocksFunction · 0.80

Calls 1

EnqueueMethod · 0.45

Tested by 2

TestExclusiveQueuesFunction · 0.64
TestExclusiveQueueLocksFunction · 0.64