google-code-export / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
1 stars 0 forks source link

DatastoreFailureException during high load reads not handled by objecitfy #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This exception appeared under high load during reading from the datastore 
generated using mapreduce library. The code that was used as the following:
ofy().load().key(key).get();

All keys were unique and there were no transactions. Entity that we were trying 
to load is not cached.

com.googlecode.objectify.cache.TriggerSuccessFuture trigger: Future<?> threw an 
exception during trigger
java.util.concurrent.ExecutionException: 
com.google.appengine.api.datastore.DatastoreFailureException: internal error.
    at com.google.appengine.api.utils.FutureWrapper.setExceptionResult(FutureWrapper.java:63)
    at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:94)
    at com.googlecode.objectify.cache.TriggerFuture.get(TriggerFuture.java:102)
    at com.googlecode.objectify.impl.ResultAdapter.now(ResultAdapter.java:34)
    at com.googlecode.objectify.impl.engine.LoadEngine$Round$3.now(LoadEngine.java:178)
    at com.googlecode.objectify.impl.engine.LoadEngine$Round$3.now(LoadEngine.java:175)
    at com.googlecode.objectify.impl.engine.LoadEngine$Round$2.nowUncached(LoadEngine.java:128)
    at com.googlecode.objectify.impl.engine.LoadEngine$Round$2.nowUncached(LoadEngine.java:120)
    at com.googlecode.objectify.util.ResultCache.now(ResultCache.java:30)
    at com.googlecode.objectify.impl.engine.LoadEngine$Round$1.nowUncached(LoadEngine.java:75)
    at com.googlecode.objectify.util.ResultCache.now(ResultCache.java:30)
    at com.googlecode.objectify.impl.ref.StdRef.get(StdRef.java:57)

What is the expected output? What do you see instead?
No Exception propagated outside objectify.

What version of the product are you using? On what operating system?
4.0b1

Original issue reported on code.google.com by dmi...@electionear.com on 19 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
I see that regularly, didn't so much with Objectify 3.
Interestingly, it affects also users on AppScale
https://groups.google.com/forum/#!topic/appscale_community/YjU10ag9eeg

Original comment by theb...@emanueleziglioli.it on 17 Feb 2014 at 9:10

GoogleCodeExporter commented 9 years ago
This exception is being generated by GAE. It's really a question for the GAE 
team, not the Objectify team :(

Original comment by lhori...@gmail.com on 14 Apr 2014 at 1:01