glaforge/gaelyk — Issue #97: Ignore Memcache Errors by default?
Author: techhollywood
Created: 2011-12-13 20:44:16+00:00
State: open

I got a ton of these yesterday. It took down my site.

com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item (_ahsI_KeCXfRG7ypv5Esm43PRg)
at com.google.appengine.api.memcache.AsyncMemcacheServiceImpl$7.transform(AsyncMemcacheServiceImpl.java:427)
at com.google.appengine.api.memcache.AsyncMemcacheServiceImpl$7.transform(AsyncMemcacheServiceImpl.java:419)

Not sure what the best approach should be here, but I would hate to put every put statement in a try catch block.
I recommend we catch and ignore by default. As it states in google's documentation, there is no guarantee that the data will stay in memcache anyhow.

Actually, maybe the best approach would be catch, retry, ignore.