1
0
mirror of https://github.com/restic/restic.git synced 2024-07-03 08:50:53 +02:00
restic/changelog/unreleased
jo ea59896bd6
Add a global option --retry-lock
Fixes restic#719

If the option is passed, restic will wait the specified duration of time
and retry locking the repo every 10 seconds (or more often if the total
timeout is relatively small).

- Play nice with json output
- Reduce wait time in lock tests
- Rework timeout last attempt
- Reduce test wait time to 0.1s
- Use exponential back off for the retry lock
- Don't pass gopts to lockRepo functions
- Use global variable for retry sleep setup
- Exit retry lock on cancel
- Better wording for flag help
- Reorder debug statement
- Refactor tests
- Lower max sleep time to 1m
- Test that we cancel/timeout in time
- Use non blocking sleep function
- Refactor into minDuration func

Co-authored-by: Julian Brost <julian@0x4a42.net>
2023-04-07 16:24:14 +02:00
..
.gitignore Add gitignore to changelog/unreleased 2020-11-05 09:01:32 +01:00
issue-719 Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
issue-3627 restore: Add progress bar 2023-04-07 12:08:23 +02:00
issue-3941 document backup --group-by 2023-02-11 00:55:11 +01:00
issue-4211 cmd, restic: Refactor and fix snapshot filtering 2023-02-19 15:04:25 +01:00
issue-4239 fuse: Report fuse.Attr.Blocks correctly 2023-03-07 22:14:07 +01:00
issue-4253 fuse: Mix inode hashes in a non-symmetric way 2023-03-21 17:33:18 +01:00
pull-4176 Add changelog 2023-02-10 23:45:20 +01:00
pull-4180 add linux/riscv64 builds 2023-01-30 22:24:12 +01:00
pull-4219 added changelog 2023-03-11 20:04:12 +01:00