From: Tom Clegg Date: Fri, 30 Jun 2017 14:17:02 +0000 (-0400) Subject: 11917: Do not clear rails cache at boot time. X-Git-Tag: 1.1.0~147^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/e8d11e963248fada51bdb1ecc59446adccff440f?hp=e8d11e963248fada51bdb1ecc59446adccff440f 11917: Do not clear rails cache at boot time. This seems like a good idea when there is only one process that has access to the cache. However, in real life the crunch1 dispatcher, rake tasks, and the apiserver all share the cache, and they don't all start up at the same time. This means clear() can run while other operations like fetch() are in progress, which is apparently not a supported use. With the Rails file cache, if clear() removes a directory at an inopportune moment, fetch() crashes (see https://dev.arvados.org/issues/11917). Arvados-DCO-1.1-Signed-off-by: Tom Clegg ---