Apologies Chad, I didn't make myself clear. I was using Python ndb terminology 
with 'get', 'put' and 'query'.

What I want to clarify is if an entity will always be returned from a fetch by 
kind if it has previously been fetched by key.

This is what I experience in testing. I also remember reading that an entity's 
indexed properties are written to their respective indexes, if not done 
already, on its first fetch by key.

Therefore can you effectively get strong consistency by adding a fetch by key 
after adding an entity to the datastore?

Example 1:
1) Put entity A.
2) Query for entity A by kind. // This does not always return entity A due to 
the eventual consistency nature of the datastore.

Example 2:
1) Put entity B.
2) Fetch entity B by key.
3) Query for entity B by kind. // Always appears to return entity B.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to