python - Preventing db.get() from returning outdated records -


i working on app has users taking turns put()-ing data datastore, has id broadcast user via channel. sometimes, when users get(), it'll show previous user's changes. how can prevent this? there way have put() block until it's written?

take @ ancestor queries in docs.

https://developers.google.com/appengine/docs/python/datastore/structuring_for_strong_consistency

you seeing consistent results, although in case need consistent results.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -