Bug 27983

Summary: debuginfod client should eliminate duplicate outgoing server urls
Product: elfutils Reporter: Frank Ch. Eigler <fche>
Component: debuginfodAssignee: Noah Sanci <nsanci>
Status: RESOLVED FIXED    
Severity: normal CC: elfutils-devel, nsanci
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Frank Ch. Eigler 2021-06-15 02:44:08 UTC
Gazing at server logs, one sees a minority of clients who appear to have duplicate query traffic coming in: the same URL, milliseconds apart.  Chances are the user accidentally doubled her $DEBUGINFOD_URLS somehow, and the client library is dutifully asking the servers TWICE.  Bug #27863 reduces the pain on the servers' CPU, but dupe network traffic is still being paid.  We should reject sending outright duplicate concurrent traffic.
Comment 1 Frank Ch. Eigler 2021-08-30 16:45:38 UTC
commit 4c0491637c307e265677d643f3d80ed5f102306b
Author: Noah Sanci <nsanci@redhat.com>
Date:   Fri Jul 9 14:53:10 2021 -0400

    debuginfod: PR27983 - ignore duplicate urls