gcworker

package
v0.0.0-...-3903214 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGCWorker

func NewGCWorker(store tikv.Storage, pdClient pd.Client) (tikv.GCHandler, error)

Types

type DeleteRangesManager

type DeleteRangesManager interface {
	GetRangesToDelete(context.Context, uint64) ([]kv.KeyRange, error)
	ClearRangeRecord(context.Context, kv.KeyRange) error
}

type GCWorker

type GCWorker struct {
	// contains filtered or unexported fields
}

func (*GCWorker) Close

func (w *GCWorker) Close()

func (*GCWorker) Start

func (w *GCWorker) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL