On Tue, Feb 8, 2011 at 1:06 PM, Brandon Wirtz <drak...@digerat.com> wrote:

> Memcache flush flushes on the instance it is on... I haven't found it to be
> real useful for me, since I can't flush on all instances... so I never
> trust
> that I actually got a flush.
>

This is incorrect. The memcache service is globally consistent; there are no
'local instances'.


>
>
> -----Original Message-----
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of pdknsk
> Sent: Monday, February 07, 2011 5:41 PM
> To: Google App Engine
> Subject: [google-appengine] Re: memcache.flush_all() failed without error
>
> Sorry for another message, but I just read that this function returns a
> bool. I haven't checked it so far, because I expected the function to
> trigger an exception when it fails. So is this expected behaviour then?
>

Correct - you need to check the return code. This is designed for
compatibility with the memcached interface, which uses return codes rather
than exceptions.

-Nick Johnson


> --
> 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.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> 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 google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to