Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


GAE Datastore Eventual consistency section contains wrong information #132

anssih opened this Issue · 1 comment

2 participants


In deployment recipes, under GAE Datastore the "Eventual consistency" section seems to be mostly wrong.

The first paragraph seems OK, but the second paragraph claims that web2py doesn't rely on "primary Datastore keys" and that the "id" field is just a regular field assigned by web2py. Reading the code that simply isn't the case, and hasn't been at least as far back as the git repository goes (2 years). The id is the actual DB-assigned id from the entity key.

Therefore the rest of the section (which explains the consequences with an example) is just wrong. The issue only exists if one tries to retrieve the newly added row by a non-id field.

I guess the example should be altered to retrieve the newly added row by a non-id field, or minimally completely removed.


That used to be the case but code has changed. You are right the book did not keep up and needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.