Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for interrupted send session, then resume #15

Open
5 tasks
Tracked by #197
tasket opened this issue Dec 20, 2018 · 1 comment
Open
5 tasks
Tracked by #197

Check for interrupted send session, then resume #15

tasket opened this issue Dec 20, 2018 · 1 comment
Milestone

Comments

@tasket
Copy link
Owner

tasket commented Dec 20, 2018

Check metadata for '-tmp' when starting a send, then find which chunks were sent and continue sending from that point.

Associated changes:

  • class Volume initial detection
  • prepare_snapshots() with special condition for monitor_only mode
  • monitor_send() and send_volume()
  • new function to scan/sanitize untrusted destination directory... maybe simple counter on destination that returns last chunk
  • offer user to verify the session as a unit when resumed send is completed
@tasket tasket added this to the v0.3 milestone Dec 20, 2018
@tasket
Copy link
Owner Author

tasket commented May 16, 2021

Using a checkpoint file in /var that is repeatedly updated during a send could make this possible. The update interval could be based on 'bcount', using a large value possibly >100MB to be worthwhile.

If the checkpoint exists both locally and on dest with the same value, then check that chunk files exist & are non-zero, and resume send from that point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant