I have a query in my app... running 1.8.4, Python 2.7 Measurement is an NDB model... with a string property called status and a key property called asset....
(Deep in my handler code.... ) cursor=None limit=10 asset_key = <a key to an actual asset> qry = Measurement.query(Measurement.status=='PENDING', Measurement.asset=asset_key) results, cursor, more = qry.fetch_page(page_size=limit, start_cursor=cursor) Now the weird thing is if I run this sometimes I get 4 items. Then sometimes only 1. (the right answer is 4).... The dump of the query is exactly the same ... cursor is set to None... limit is always the same....same handler...same query and no new records in between each query. Each query is only separated by seconds yet results a different. Am I missing something here... has anyone else experienced this? Is this some sort of corrupt index? (It is a relatively large "table" with 482,911 items) Is NDB caching a cursor??? Very very odd. -- 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 http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
