As it turns out, I was using a Query and not a get(). I believe Queries might not be guaranteed to return everything that has been put(), right? That would explain the inconsistencies I've been seeing if this is the case. Can someone confirm this?
Thanks, Phil On Tue, Dec 6, 2011 at 9:31 PM, YuchTing <[email protected]> wrote: > check > http://code.google.com/status/**appengine<http://code.google.com/status/appengine>for > GAE current status. > > Is GAE datastore abnomal? > > δΊ 2011-12-7 10:26, Phil McDonnell ει: > >> I'm in java on GWT app engine and I'm having some intermittent issues >> where it looks like datastore put() commands are not being reflected by >> subsequent get() calls. From my reading I thought this was not >> possible. Am I mistaken? >> >> Here's what I'm doing... >> >> // STATE A >> Entity x = ... >> datastore.put(x); >> // STATE B >> ... >> x = ... some new values ... >> datastore.put(x); >> // STATE C >> ... >> datastore.get(keyOfX); >> >> >> The final get() sometimes returns an x of state C and sometimes it >> returns an x of state B. Any idea why this happens? I'm assuming it's >> some sort of concurrency thing within my app, but perhaps I've >> misunderstood the datastore guarantees? Should the get() always get an >> x from state C? >> >> Thanks, >> Phil >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Google App Engine" group. >> To post to this group, send email to >> google-appengine@googlegroups.**com<[email protected]> >> . >> To unsubscribe from this group, send email to >> google-appengine+unsubscribe@**googlegroups.com<google-appengine%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/**group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >> . >> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to > google-appengine@googlegroups.**com<[email protected]> > . > To unsubscribe from this group, send email to > google-appengine+unsubscribe@**googlegroups.com<google-appengine%[email protected]> > . > For more options, visit this group at http://groups.google.com/** > group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> > . > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
