MCPcopy Index your code
hub / github.com/netdata/netdata / nextAttemptIDLocked

Method nextAttemptIDLocked

src/go/plugin/framework/chartengine/attempt.go:133–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (e *Engine) nextAttemptIDLocked() uint64 {
134 e.state.nextAttempt++
135 if e.state.nextAttempt == 0 {
136 e.state.nextAttempt++
137 }
138 return e.state.nextAttempt
139}
140
141func (e *Engine) commitAttempt(materialized materializedState, epoch, commitSeq, attemptID uint64) error {
142 if e == nil {

Callers 1

preparePlanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected