MCPcopy
hub / github.com/dgraph-io/badger / startCompactions

Method startCompactions

db.go:1408–1414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1406}
1407
1408func (db *DB) startCompactions() {
1409 // Resume compactions.
1410 if db.closers.compactors != nil {
1411 db.closers.compactors = y.NewCloser(1)
1412 db.lc.startCompact(db.closers.compactors)
1413 }
1414}
1415
1416func (db *DB) startMemoryFlush() {
1417 // Start memory fluhser.

Callers 3

FlattenMethod · 0.95
dropAllMethod · 0.95
DropPrefixMethod · 0.95

Calls 2

NewCloserFunction · 0.92
startCompactMethod · 0.80

Tested by

no test coverage detected