Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteDeleteRange ¶
func CompleteDeleteRange(ctx context.Context, dr DelRangeTask) error
CompleteDeleteRange deletes a record from gc_delete_range table. NOTE: This function WILL NOT start and run in a new transaction internally.
Types ¶
type DelRangeTask ¶
DelRangeTask is for run delete-range command in gc_worker.
func LoadDeleteRanges ¶
func LoadDeleteRanges(ctx context.Context, safePoint uint64) (ranges []DelRangeTask, _ error)
LoadDeleteRanges loads delete range tasks from gc_delete_range table.
func (DelRangeTask) Range ¶
func (t DelRangeTask) Range() ([]byte, []byte)
Range returns the range [start, end) to delete.
Click to show internal directories.
Click to hide internal directories.