Project

General

Profile

Actions

Bug #20203

closed

API server returns 200 OK when it can't cache a document

Added by Brett Smith about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Story points:
1.0
Release relationship:
Auto

Description

If the filesystem underlying the API server's cache is full, it can get into a situation where requests for cached documents return a 200 OK with an empty response.

#20187 is meant to help mitigate this for the discovery document. We should investigate if there are other routes where this can happen, and if possible, return an error code in those cases.

Investigate other uses of the rails cache and see if they are needed any more. Also investigate if we should switch over to a memory cache so it doesn't rely on disk.


Subtasks 1 (0 open1 closed)

Task #20322: Review 20203-rails-cacheResolvedTom Clegg04/14/2023Actions

Related issues

Related to Arvados - Idea #20187: Cache discovery doc in memory in controllerResolvedTom Clegg03/15/2023Actions
Actions

Also available in: Atom PDF