GAE发出邮件又通知要维护了。
维护时间:Maintenance on August 18th (Tuesday) at 9 AM Pacific Time
维护时的效果:数据库只读
换算了一下,是北京时间的凌晨1点。我还是写一段小代码不让这段时间写数据库好了,或者直接也不让访问好了。预计半小时。
美国本土分成四个时区,从西向东分别是:太平洋时区(西部时区)、山地时区(中西部时区)、中部时区与东部时区。再加夏威夷及阿拉斯加共有6个时区。东部时间比北京时间晚13个小时;西部时间比北京时间晚16个小时。
正常时美国各时间与北京时间的时差
太平洋时间:-16
山地时间:-15
中部时间:-14
东部时间:-13
北京时间减去15小时就是美国山地间。北京时间20:00,美国太平洋时间就是当天的05:00。
美国还实行夏令时,美国夏令时始于每年4月的第1个周日,止于每年10月的最后一个周日。夏令时比正常时间早一小时。 在美国夏令时,北京时间20:00,美国山地时间就是06:00。
你提到的Thursday, August 9, 2007 9:00am-10:30am Mountain Time是在夏令时内,所以是北京时间8月9号晚上的23点 - 次日凌晨的0:30.
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
GAE维护(8.18)
GAE维护(8.18)
...