I believe memcache won't be flushed automatically after an app is redeployed. One way you can force a flush on redeploy is by storing the current version ID, os.getenv('CURRENT_VERSION_ID'), into memcache. Then in your main.py, check if the current version is the same as the one in memcache. If not, flush memcache at that time.
On Mar 28, 10:43 pm, Coonay <fla...@gmail.com> wrote: > the data strore is cleaned ,then i redeploy my app,next access my app > via chrome,i found there are stale date in the memcache ,and i make > sure these data has been deleted using the data viewer, > My question is : > won't the memcache be flushed after app is redeployed?(appcfg.py > update myapp) > Ps:how to restart my app completely? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---