Thanks for the reply, Ryan. Actually, I need to apologize because the way I described my problem was incorrect. I'm seeing stale data not from queries, but from calls to the JDO function GetObjectById(). The calls are inside a transaction. Since the analogous low-level datastore access function get() is guaranteed to return strongly consistent data, I was under the impression that the same would be true for GetObjectById(). Am I perhaps wrong about this?
On Monday, August 3, 2015 at 1:28:14 PM UTC-6, Ryan (Cloud Platform Support) wrote: > > I would take a look at this article > <https://cloud.google.com/appengine/docs/java/datastore/jdo/queries>, > specifically the second paragraph under 'Datastore Read Policy and Call > Deadline'.: > > ' > If the query uses an ancestor filter, you can use transactions > <https://cloud.google.com/appengine/docs/java/datastore/transactions> to > ensure a consistent result set.) See the article Transaction Isolation in > App Engine > <https://cloud.google.com/appengine/articles/transaction_isolation> for > more information on how entities and indexes are updated. > ' > On Saturday, August 1, 2015 at 6:24:55 PM UTC-4, Thomas Becker wrote: >> >> I am using the app engine datastore with Java JDO. According to the >> documentation, ancestor queries are always strongly consistent. Recently, >> however, I've been seeing a lot of stale data from ancestor queries. It >> seems to happen randomly. A query may return the most recent data, and a >> moment later, the same query returns stale data. >> > -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. 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/41d50d35-8e07-4f36-9a8f-7e1909f6c242%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.