Yes. Generating unique sequential ids is a hard problem in this kind of distributed system.
The cause of your issue is probably eventual consistency, but you probably will not be able to get strong consistency without crippling your datastore throughput. If you really want sequential ids, I recommend using a sequence in cloudsql to generate them when you need one. This won't be perfect (some numbers may get skipped) but it won't create duplicates. -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0d118675-2b30-4a77-8f0c-d3c33b452fc4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
