rclone/cmd/bisync
nielash 44637dcd7f bisync: high-level retries if --resilient
Before this change, bisync had no ability to retry in the event of sync errors.
After this change, bisync will retry if --resilient is passed, but only in one
direction at a time. We can safely retry in one direction because the source is
still intact, even if the dest was left in a messy state. If the first
direction still fails after our final retry, we abort and do NOT continue in
the other direction, to prevent the messy dest from polluting the source. If
the first direction succeeds, we do then allow retries in the other direction.

The number of retries is controllable by --retries (default 3)

bisync: high-level retries if --resilient

Before this change, bisync had no ability to retry in the event of sync errors.
After this change, bisync will retry if --resilient is passed, but only in one
direction at a time. We can safely retry in one direction because the source is
still intact, even if the dest was left in a messy state. If the first
direction still fails after our final retry, we abort and do NOT continue in
the other direction, to prevent the messy dest from polluting the source. If
the first direction succeeds, we do then allow retries in the other direction.

The number of retries is controllable by --retries (default 3)
2024-01-20 14:50:08 -05:00
..
bilib bisync: refactor normalization code, fix deltas - fixes #7270 2024-01-20 14:50:08 -05:00
testdata bisync: refactor normalization code, fix deltas - fixes #7270 2024-01-20 14:50:08 -05:00
bisync_test.go bisync: handle unicode and case normalization consistently - mostly-fixes #7270 2024-01-20 14:50:08 -05:00
cmd.go bisync: high-level retries if --resilient 2024-01-20 14:50:08 -05:00
deltas.go bisync: high-level retries if --resilient 2024-01-20 14:50:08 -05:00
help.go bisync: add rc parameters for new flags 2023-09-05 08:53:58 +01:00
LICENSE.cjnaz bisync: implementation #5164 2021-11-01 21:00:27 +03:00
listing.go bisync: refactor normalization code, fix deltas - fixes #7270 2024-01-20 14:50:08 -05:00
log.go bisync: introduce terminal colors 2024-01-20 14:50:08 -05:00
march.go bisync: refactor normalization code, fix deltas - fixes #7270 2024-01-20 14:50:08 -05:00
operations.go bisync: refactor normalization code, fix deltas - fixes #7270 2024-01-20 14:50:08 -05:00
queue.go bisync: high-level retries if --resilient 2024-01-20 14:50:08 -05:00
rc.go bisync: fix dryRun rc parameter being ignored 2023-09-05 08:53:58 +01:00