1
votes

I am using Objectify on GAE for Java. Recently Had a situation where I deleted object using ofy( ).delete() which is supposed hard delete an object off the datastore.

However I was able to still see this hard-deleted object in AppEngine's admin console (datastore viewer). When I try to expand (edit) this object by clicking on the ID/Name column I get an error "This entity doesn't exist." I can still retrieve this object from the datastore using ofy().get().

Is this because indexes aren't updated?

Thanks in advance!

1

1 Answers

2
votes

You are seeing the eventually-consistent nature of queries in the high-replication datastore.

Here is a good place to start reading: https://developers.google.com/appengine/docs/java/datastore/structuring_for_strong_consistency