Consistent failure on delete.

When I am going to delete all our entities using the datastore admin tool, 
I am repeatedly running into the problem where all the entities are not 
deleted, and we get transaction collisions. Bellow are the errors I recieve:

Transaction collision. Retrying... 
Transaction collision. Retrying... 
Transaction collision. Retrying... 
Transaction collision. Retrying... 
Transaction collision. Retrying... 
Transaction collision. Retrying... 
<class 'google.appengine.runtime.DeadlineExceededError'>: 
Traceback (most recent call last):
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/datastore_admin/main.py",
 
line 337, in main
    util.run_wsgi_app(APP)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
 
line 98, in run_wsgi_app
    run_bare_wsgi_app(add_wsgi_middleware(application))
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
 
line 116, in run_bare_wsgi_app
    result = application(env, _start_response)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py",
 
line 703, in __call__
    handler.post(*groups)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/datastore_admin/delete_handler.py",
 
line 158, in post
    {})
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/datastore_admin/utils.py",
 
line 547, in RunMapForKinds
    model.MapreduceControl.abort(job)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/mapreduce/model.py",
 
line 909, in abort
    command=cls.ABORT).put()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py",
 
line 1052, in put
    return datastore.Put(self._entity, **kwargs)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", 
line 576, in Put
    return PutAsync(entities, **kwargs).get_result()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 
line 592, in get_result
    return self.__get_result_hook(self)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 
line 1556, in __put_hook
    self.check_rpc_success(rpc)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 
line 1185, in check_rpc_success
    rpc.wait()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 
line 533, in wait
    self.__rpc.Wait()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
 
line 119, in Wait
    rpc_completed = self._WaitImpl()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/runtime/apiproxy.py",
 
line 131, in _WaitImpl
    rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self)


I am not trying to do anything special, and am logged in as Admin for our 
Premier Account. Once this fails I then run it again and and again and 
eventually i get to the stage where there are just a few odd entities left. 
When I return to the Datastore viewer I can see our other Namespaces which 
have just a few entities at random within each.

I would be interested in what I am meant to do with this tool?

Cheers

N

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/fQrwSBOyTJ8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to