Datastore scheduled downtime - 6/4 10am PDT

6 views
Skip to first unread message

Pete

unread,
Jun 4, 2008, 2:59:08 AM6/4/08
to Google App Engine Downtime Notify
Hi all,

Due to scheduled maintenance, the datastore will be in read-only mode
for approximately 10 minutes starting at 10:00am PDT on Thursday, 6/4.
During this period all datastore writes and transactions will throw an
exception. If you'd like to modify your app to catch this exception,
here are some specifics:

exception
google.appengine.runtime.apiproxy_errors.CapabilityDisabledError

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
Reply all
Reply to author
Forward
0 new messages