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

Method waitForIngestPathReady

modules/livestore/live_store.go:357–366  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

355}
356
357func (s *LiveStore) waitForIngestPathReady(ctx context.Context) error {
358 if !s.cfg.ConsumeFromKafka {
359 return nil
360 }
361 // Wait for catch-up before marking ready (if enabled)
362 if err := s.waitForCatchUp(ctx); err != nil {
363 return fmt.Errorf("failed to catch up: %w", err)
364 }
365 return nil
366}
367
368func (s *LiveStore) startIngestPath(ctx context.Context) error {
369 if !s.cfg.ConsumeFromKafka {

Callers 1

startingMethod · 0.95

Calls 1

waitForCatchUpMethod · 0.95

Tested by

no test coverage detected