MCPcopy Create free account
hub / github.com/cortexproject/cortex / done

Method done

pkg/ring/replication_set_tracker.go:11–11  ·  view source on GitHub ↗

Signals an instance has done the execution, either successful (no error) or failed (with error). If successful, result will be recorded and can be accessed via getResults.

(instance *InstanceDesc, result any, err error)

Source from the content-addressed store, hash-verified

9 // or failed (with error). If successful, result will be recorded and can
10 // be accessed via getResults.
11 done(instance *InstanceDesc, result any, err error)
12
13 // Returns true if all instances are done executing
14 finished() bool

Callers 4

DoMethod · 0.95
TestDefaultResultTrackerFunction · 0.65
StopMethod · 0.65

Implementers 2

defaultResultTrackerpkg/ring/replication_set_tracker.go
zoneAwareResultTrackerpkg/ring/replication_set_tracker.go

Calls

no outgoing calls

Tested by 2

TestDefaultResultTrackerFunction · 0.52