ryan
unread,Nov 26, 2008, 5:40:34 PM11/26/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
hi viktor! that's a common misconception that people have after
reading that article. queries and get()s *after* a put() are always
consistent. this is why we say that the datastore is strongly
consistent. within the same request, once a put() returns
successfully, all subsequent get()s and queries will be fully
consistent and include the entity (or entities) that were put().
to answer your question more directly, get() does not use an index.
it's a direct lookup by primary key. the inconsistencies discussed in
that article are limited to queries, not get()s, and can only happen
when one request does a put() and another concurrent request runs a
query.