MCPcopy Index your code
hub / github.com/cortexproject/cortex / getError

Method getError

pkg/ring/batch.go:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (i *itemTracker) getError() error {
55 if i.failed5xx.Load() > i.failed4xx.Load() {
56 return i.err5xx.Load()
57 }
58
59 return i.err4xx.Load()
60}
61
62// DoBatch request against a set of keys in the ring, handling replication and
63// failures. For example if we want to write N items where they may all

Callers 1

recordMethod · 0.80

Calls 1

LoadMethod · 0.80

Tested by

no test coverage detected