]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR30348: debuginfod: retry partial archive scans
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 13 Apr 2023 17:11:56 +0000 (13:11 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 13 Apr 2023 17:23:01 +0000 (13:23 -0400)
commit7676df99484184ff971cf37f3aa54d5e457d6e35
treee19566f216d7ddc779711800db2953d993fbe6be
parent6e9718089b05403947d8255423a849d425305925
PR30348: debuginfod: retry partial archive scans

On some public debuginfod servers, it was observed that errors
may occur during individual archive scanning operations.  That's
fine, but previous code still went ahead and marked the archive
"done" by inserting a record into the *_file_mtime_scanned table.

New code ensures that exceptions propagate for these cases, and an
archive that encountered an error while scanning will be retried
later.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx