---------- Forwarded message ---------
From:
bmurr <bmu...@tethras.com>Date: Friday, July 15, 2022 at 11:10:01 AM UTC-5
Subject: Entities not being returning in query result -- index bug?
To:
Google App Engine <google-a...@googlegroups.com>I was alerted by one of my users that some entries they are associated with were not appearing to them.
Indeed, when I query the datastore for these entities (with a single property filter), they are not returned. After writing them to the datastore, the index is updated and they are returned in the query.
Perhaps technically my query is not guaranteed to return the entities as it is weakly consistent, but none of the entities were changed recently and usually any inconsistent results are resolved quite quickly. (it has been several hours now)
So it seems like the index entries for this property on these entities were lost or damaged somehow. What to do? Wait and hope the index will be regenerated? I can write entities for this user to the datastore to regenerate the index...but doing it for all my users is not really an option.