=) I feel relieved now, to know that i can trust on Gets thx for the "Docs" link Robert
2012/2/15 Robert Kluin <[email protected]> > You have to explicitly set eventually consistent to get that behavior. > > Note that ancestor queries are also strongly consistent. This is > detailed in the docs: > > http://code.google.com/appengine/docs/java/datastore/hr/#Data_Storage_Options_Compared > > > Robert > > > > > On Tue, Feb 14, 2012 at 12:51, Leandro Rezende > <[email protected]> wrote: > > im confused now =( > > > > so, even GetObjectById can return Old Data? > > > > Jeff said "If you access the datastore in ReadPolicy.Consistency.EVENTUAL > > mode...", > > > > Is this something i have to "Set"? to all access become > > "ReadPolicy.Consistency.EVENTUAL" or its just the way im coding.. > > > > Thanks again. > > > > > > 2012/2/14 Jeff Schnitzer <[email protected]> > >> > >> Officially, there is no guaranteed upper bound for queries to become > >> consistent. In practice it's usually a second or two, but > infrastructure > >> failures could in theory extend the period to minutes or hours or (gasp) > >> days. > >> > >> One thing worth noting: If you access the datastore in > >> ReadPolicy.Consistency.EVENTUAL mode, get-by-id will be eventually > >> consistent just like queries. And it's *dramatically* faster, ~1/5 > latency > >> in my recent experiments. > >> > >> Jeff > >> > >> > >> On Tue, Feb 14, 2012 at 12:15 PM, Mahron <[email protected]> wrote: > >>> > >>> get_by_id or GetObjectbyID are supposed to always be consistent. > >>> Basically all Items returned by query or id are up to date. If it is > >>> not, there is a serious problem. > >>> > >>> "Sometimes the Query returns the value updated, sometimes not." By > >>> that I suppose it does not return the entity at all. If it returns a > >>> version different than after the last Put(), then I am pretty sure > >>> that's a bug. > >>> > >>> -- > >>> 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. > >>> > >> > >> -- > >> 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. > > > > > > -- > > 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. > > -- > 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. > > -- 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.
