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

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/journal/replay.py
21

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

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.