[Bug debuginfod/27917] protect against federation loops

amerey at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jun 25 18:59:21 GMT 2021


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

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amerey at redhat dot com

--- Comment #1 from Aaron Merey <amerey at redhat dot com> ---
Commit ab38d167c40c99 causes federation loops for non-existent resources to
result in multiple temporary livelocks, each lasting for $DEBUGINFOD_TIMEOUT
seconds. Since concurrent requests for each unique resource are now serialized,
federation loops can result in one server thread waiting to acquire a lock
while the server thread holding the lock waits for the first thread to respond
to an http request.

An implementation for this PR should help protect against this behaviour. Ex.
if --forwarded-ttl-limit=0 then the timeout behaviour of local loops should be
avoided.

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


More information about the Elfutils-devel mailing list