Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GCWorker ¶
type GCWorker struct {
// contains filtered or unexported fields
}
GCWorker periodically triggers GC process on tikv server.
type MockGCWorker ¶
type MockGCWorker struct {
// contains filtered or unexported fields
}
MockGCWorker is for test.
func NewMockGCWorker ¶
func NewMockGCWorker(store tikv.Storage) (*MockGCWorker, error)
NewMockGCWorker creates a MockGCWorker instance ONLY for test.
func (*MockGCWorker) DeleteRanges ¶
func (w *MockGCWorker) DeleteRanges(ctx context.Context, safePoint uint64) error
DeleteRanges call deleteRanges internally, just for test.
Click to show internal directories.
Click to hide internal directories.