MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / resetStatus

Method resetStatus

db/background_mgr.go:341–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339}
340
341func (b *BackgroundManager) resetStatus() {
342 b.lock.Lock()
343 defer b.lock.Unlock()
344
345 b.lastError = nil
346 b.LastErrorMessage = ""
347 b.Process.ResetStatus()
348}
349
350func (b *BackgroundManager) Stop() error {
351 if err := b.markStop(); err != nil {

Callers 2

StartMethod · 0.95
TestResyncDCPInitFunction · 0.80

Calls 3

ResetStatusMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45

Tested by 1

TestResyncDCPInitFunction · 0.64