@gen.engine
def _Start(callback):
  client = db_client.DBClient.Instance()
  job = Job(client, 'table_sizes')

  if options.options.require_lock:
    got_lock = yield gen.Task(job.AcquireLock)
    if got_lock == False:
      logging.warning('Failed to acquire job lock: exiting.')
      callback()
      return

  try:
    yield gen.Task(RunOnce, client)
  finally:
    yield gen.Task(job.ReleaseLock)

  callback()
delete a task, all it's items, and all it's metadata
dataset/ETHPy150Open viewfinderco/viewfinder/backend/logs/get_table_sizes.py/_Start--crossover with--dataset/ETHPy150Open anchor/make-magic/core/store.py/MongoStore.delete_task