Hi!
I am currently implementing the deferred library in my code, and I am
running into a very very strange problem. The function that I am
deferring gets passed an entity key. It does two tasks: 1) Gets the
entity, retrieves a reference property, alters it, and then puts it
back 2)Sends out an
Hi guys,
I'm still having trouble debugging this error. Would appreciate any
thoughts!
Thanks,
Aaron
On Sat, Jun 12, 2010 at 3:55 AM, Aaron wrote:
> Hi!
>
> I am currently implementing the deferred library in my code, and I am
> running into a very very strange problem. The function that I a
Hi Aaron,
Since you're not doing the update inside a transaction, it's likely that
what's happening is that multiple tasks are updating the entity at the same
time, which results in a concurrency issue: Both tasks fetch the entity and
modify it, and the one that does the put last is the one whose
Hi Nick,
Unfortunately, putting the update inside a transaction didn't solve the
problem. This problem is currently occuring on the SDK, where there
shouldn't be any concurrency issues. I looked into AppStats again, and I
can clearly seeing the datastore.v3Commit taking place. And, I am pretty
having the same issue exactly. deferred lib runs two tasks then halts
without uppering the counter. i thought i had some issue.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '
I'd like to update this thread with a new set of observations. Most
importantly, I have divorced myself from the notion that this has anythign
to do with the deferred library.
When I took the datastore puts out of the deferred function, they still
failed to complete. When I put the puts inside a
for me its just not running the deferred the third time. i see two tasks
maybe three running then everything halts. its like somewhere along the way
the deadtimeexceeded is not firing or the deferred doesnt have enough time
to fire up upon error.
i resolved by going task wise and just spreading the