Page MenuHomeSoftware Heritage

content-replayer: add a bit of resiliency when copying an object
ClosedPublic

Authored by douardda on Jul 31 2019, 3:41 PM.

Details

Summary

by retrying (by default 3 times) the failed request (get or put).

This is needed to have an half-reliable content-replayer...

Depends on D1790

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Jul 31 2019, 3:41 PM
vlorentz accepted this revision.Aug 5 2019, 10:33 AM
vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/journal/replay.py
22

logger.debug; the CLI already logs enough stuff as info.

This revision is now accepted and ready to land.Aug 5 2019, 10:33 AM
douardda updated this revision to Diff 6443.Aug 28 2019, 2:20 PM

rebased + lower a logging statement from info to debug

This revision was landed with ongoing or failed builds.Aug 28 2019, 2:21 PM
This revision was automatically updated to reflect the committed changes.