Homec4science

WebJournal: catch ValueError when reading cache

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Aug 9 2012, 15:01.

Description

WebJournal: catch ValueError when reading cache

  • Reading the cPickled cache might raise ValueError exception when some process is concurrently writing to the cache. Ignore exception and retrieve value from database instead of cache.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Aug 10 2012, 14:36
Branches
Unknown
Tags
Unknown
[HTTP/500] Internal Server Error FilesystemException: Failed to create a temporary directory: the disk is full.

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:aa479d0d8d47: WebJournal: catch ValueError when reading cache (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Aug 10 2012, 14:36