https://sourceware.org/bugzilla/show_bug.cgi?id=25628

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|amerey at redhat dot com           |alizhang at redhat dot 
com

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
Suggest implementing this via:
- map a 404 result code to an empty 000-permission file in the debuginfod
client cache
- when querying for a buildid, if the cache includes such a 000-permission
file, check its fstat
- if the fstat mtime is older than the configuration parameter from the file
.cache/cache_miss_s, then unlink the 000 file and proceed with a new query
- if the fstat mtime is newer, then the 000 file is fresh, so return a
404/ENOENT equivalent to the debuginfod client application
- a good default for cache_miss_s could be 600 (10 minutes)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to