App Engine Team
unread,Jun 5, 2009, 7:27:17 PM6/5/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 Wednesday, June 10th (next week), App Engine will undergo
scheduled maintenance at 4pm Pacific Time for up to
30 minutes. 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.
Mike Repass, App Engine Team