I have an application in which I use the memcache to avoid race conditions
by retrieving keys using get(..., for_cas=True) and saving using cas.
However, ever since yesterday 18:00 (GMT-02) cas is always returning False
for me. Even a code as simple as this:
memcache.add('key', 'A')
memclient = memcache.Client()
dict = memclient.get('key', for_cas=True)
result = memclient.cas('key', 'B')
print result
always returns False on a clean memcache. I have tried to run this code in
different applications and result is always False. If i change the code to
use traditional get() and set(), result returns True. I havent done a
deploy in three days, so the code haven't changed as the problem started to
appear. Did something change in the sdk?
--
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/ff807677-7147-4aad-a9c4-c8a37ce866c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.