package
Version:
v2.0.8+incompatible
Opens a new window with list of versions in this module.
Published: Oct 16, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewGCWorker creates a GCWorker instance.
RunGCJob sends GC command to KV. it is exported for kv api, do not use it with GCWorker at the same time.
GCWorker periodically triggers GC process on tikv server.
Close stops background goroutines.
type MockGCWorker struct {
}
MockGCWorker is for test.
NewMockGCWorker creates a MockGCWorker instance ONLY for test.
DeleteRanges call deleteRanges internally, just for test.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.