code: func CompleteDeleteRange(ctx sessionctx.Context, dr DelRangeTask) error {
  	sql := fmt.Sprintf(recordDoneDeletedRangeSQL, dr.JobID, dr.ElementID)
  	_, err := ctx.(sqlexec.SQLExecutor).Execute(context.TODO(), sql)
  	if err != nil {
  		return errors.Trace(err)
  	}
  
  	return RemoveFromGCDeleteRange(ctx, dr.JobID, dr.ElementID)
  }
docs: // CompleteDeleteRange moves a record from gc_delete_range table to gc_delete_range_done table.
  // NOTE: This function WILL NOT start and run in a new transaction internally.