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

Method cutAllInstancesToWal

modules/livestore/live_store.go:740–746  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

738}
739
740func (s *LiveStore) cutAllInstancesToWal() {
741 instances := s.getInstances()
742
743 for _, instance := range instances {
744 s.cutOneInstanceToWal(s.ctx, instance, true)
745 }
746}
747
748func (s *LiveStore) cutOneInstanceToWal(ctx context.Context, inst *instance, immediate bool) {
749 ctx, span := tracer.Start(ctx, "LiveStore.cutOneInstanceToWal",

Callers 2

stoppingMethod · 0.95
TestRequeueOnErrorFunction · 0.80

Calls 2

getInstancesMethod · 0.95
cutOneInstanceToWalMethod · 0.95

Tested by 1

TestRequeueOnErrorFunction · 0.64