我们最近经常收到这个问题,各种查询直到最近都运行良好。这是完整的追溯:
...
File "/base/data/home/apps/s~hebkhan/16.370010861782528881/models.py", line 2548, in search_tree
contentItems = db.get(contentKeys)
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1533, in get
return get_async(keys, **kwargs).get_result()
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py", line 844, in get_result
result = rpc.get_result()
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
return self.__get_result_hook(self)
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py", line 1482, in __get_hook
self.check_rpc_success(rpc)
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py", line 1234, in check_rpc_success
rpc.check_success()
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 578, in check_success
self.__rpc.CheckSuccess()
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 133, in CheckSuccess
raise self.exception
Error: An error occurred for the API request datastore_v3.Get().
我已经看到有人提到了类似的问题,但没有任何迹象表明问题的根源。
我还应该提到这个应用程序正在使用 python2.5,我们还没有过渡到 python2.7。但是,我不认为这可能是相关的,因为错误来自数据存储区中发生的 RPC 调用。