MCPcopy
hub / github.com/dgraph-io/dgraph / Close

Method Close

worker/backup.go:486–496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484}
485
486func (pr *BackupProcessor) Close() {
487 for _, th := range pr.threads {
488 if pr.txn != nil {
489 th.itr.Close()
490 }
491 _ = th.buf.Release()
492 }
493 if pr.txn != nil {
494 pr.txn.Discard()
495 }
496}
497
498// LoadResult holds the output of a Load operation.
499type LoadResult struct {

Callers 2

backupCurrentGroupFunction · 0.95
ProcessBackupRequestFunction · 0.95

Calls 2

ReleaseMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected