I need up-to-date consistency, not eventual consistency, so it seems like I should use an ancestor query. However, can App Engine not tell that when in Java I call
datastoreService.get(myKey)
when myKey has a parent key, that’s effectively an ancestor query? Isn’t the parent key of myKey an implicit ancestor restriction?
The consistency model is only relevant for queries. A
getis not a query, it’s a simple read. They are always strongly consistent.