Pete Koomen
unread,Nov 26, 2008, 2:56:13 PM11/26/08Sign 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
Today (November 26th) App Engine will undergo maintenance at 5pm PST
(GMT-8) for approximately 30 minutes for a hardware upgrade.
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
The memcache API will also be disabled during this period. Calls to
memcache will not throw exceptions but will instead immediately return
False for set() calls and None for get() calls (just like any other
cache miss.) We've also implement a fix that should prevent the load
increase resulting from this memcache outage from affecting the
serving of your application.
Pete Koomen, App Engine Team