The behaviour is the same on MS and HR. Take a look at the code sample on this page: http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get_or_insert They don't use queries (which are eventual consistent without the use of entity groups on HR); instead they use a get() operation which is *always* consistent.
Best Regards Philip On Jul 16, 10:22 am, Pol <[email protected]> wrote: > Hi, > > The documentation for Model.get_or_insert() indicates this is an > atomic operation but the documentation for the high-replication > datastore says that it is eventually consistent unless you use entity > groups. > > So it is correct that Model.get_or_insert() is not atomic on high- > replication datastore if the entity key has no parent? > > - Pol -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
