public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/26810] New: handle duplicate buildid data sources, with some stale
@ 2020-10-29 14:50 fche at redhat dot com
  2020-10-30 14:10 ` [Bug debuginfod/26810] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2020-10-29 14:50 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 26810
           Summary: handle duplicate buildid data sources, with some stale
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

On a large debuginfod test server, we observed that it's possible to have the
same rpm/buildid identified with multiple locations, if the same content is
accessible along several paths.  That part's fine, but if some of the paths
change - get removed - and before the next grooming pass, debuginfod gets
confused.  That's because multiple matches are tried in series (a sqlite scan
loop), but an exception ("file not found") from one iteration can
unintentionally cancel the scan.

So we just need to put a try/catch around the handle_buildid_* function, to
assure that other locations of the same content are attempted, regardless of
exceptions.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug debuginfod/26810] handle duplicate buildid data sources, with some stale
  2020-10-29 14:50 [Bug debuginfod/26810] New: handle duplicate buildid data sources, with some stale fche at redhat dot com
@ 2020-10-30 14:10 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2020-10-30 14:10 UTC (permalink / raw)
  To: elfutils-devel

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit f5015aebdb33

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-30 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 14:50 [Bug debuginfod/26810] New: handle duplicate buildid data sources, with some stale fche at redhat dot com
2020-10-30 14:10 ` [Bug debuginfod/26810] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).