is the object part of an entity group? there is a limit on the number of writes to an entity group (with or without transactions)
On Tuesday, December 15, 2015 at 12:02:23 PM UTC-8, Yun Li wrote: > > And there is NO transaction at all. We don't use transaction. But I am not > sure if objectify uses the transaction in put. > > On Thursday, December 3, 2015 at 9:59:00 PM UTC-8, Jeff Schnitzer wrote: >> >> You'll need to post some more code details - including the structure of >> the object you are trying to change. Also you don't mention whether this is >> an exception or just a log message. It's easy to accidentally create >> contention with the task queue, especially if you're in a transaction and >> enqueueing non-transactional tasks (which often start immediately). >> >> Jeff >> >> On Thu, Dec 3, 2015 at 6:14 PM, Yun Li <[email protected]> wrote: >> >>> I am using Objectify. This error happens when updating a single >>> datastore entity. There is NO TRANSACTION. My working flow as follows: >>> >>> 1 Entity entity1 = Objectify.read(id1) >>> 2 Modify entity1's property and put "update(entity1)" in a taskqueue >>> 3 When task executes: Objectify.save(entity1) >>> >>> Then I get java.util.ConcurrentModificationException: too much >>> contention on these datastore entities >>> >>> It's so weird because the log shows that even two requests try to update >>> entity1, their execution interval could be more than 10s. I am a new GAE >>> user, anybody helps me ? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/google-appengine. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-appengine/52790fdf-d521-4f95-b35d-217bcbe2379c%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/google-appengine/52790fdf-d521-4f95-b35d-217bcbe2379c%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2458aff1-2214-466e-ac65-ca2e987a21ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
