Chris Beckmann (App Engine PM)
unread,Aug 17, 2009, 1:46:25 PM8/17/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine Downtime Notify
On Tuesday, August 17th, App Engine will undergo maintenance for
approximately one hour starting at 9 AM Pacific Time. As a result,
during this period all App Engine apps will revert to read-only mode,
and all datastore writes and transactions will throw an exception. If
you'd like to modify your app to catch this exception, here is the
exception:
exception
google.appengine.runtime.apiproxy_errors.CapabilityDisabledError
This will be thrown by db.Model.put(), db.Model.delete(), and
db.run_in_transaction(). You can use Python's try syntax to fail
gracefully on writes like this:
from google.appengine.ext import db
from google.appengine.runtime.apiproxy_errors import
CapabilityDisabledError
myModel = db.Model()
try:
myModel.put()
except CapabilityDisabledError:
# fail gracefully here
pass
During this scheduled maintenance, memcache will also be disabled.
Calls to the memcache API will not throw exceptions but will instead
return False for set() calls and None for get() calls (just like any
other cache miss). In addition, memcache API calls will return
immediately during this period, without any additional latency.
App Engine Team