Merge ~cjwatson/launchpad:librarian-gc-delete-tolerate-404 into launchpad:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 6239cad5bf1ee47f8f8ba0cb4cc951a98ad04d1f |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:librarian-gc-delete-tolerate-404 |
Merge into: | launchpad:master |
Diff against target: |
142 lines (+81/-6) 3 files modified
lib/lp/services/librarianserver/librariangc.py (+5/-1) lib/lp/services/librarianserver/tests/test_gc.py (+60/-0) lib/lp/testing/swift/fakeswift.py (+16/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Wardill (community) | Approve | ||
Review via email: mp+389749@code.launchpad.net |
Commit message
Ignore 404 when deleting unwanted Swift files
Description of the change
librarian-gc has been consistently failing for some time with the following pattern:
2020-08-19 03:22:44 DEBUG http://
2020-08-19 03:22:44 DEBUG http://
2020-08-19 03:22:45 DEBUG http://
2020-08-19 03:22:46 DEBUG http://
2020-08-19 03:22:46 DEBUG http://
The DELETE may happen in a different swiftclient.