Repository navigation
Backup dir fix - #6312
Merged
Merged
Backup dir fix#6312
Conversation
The old Overlapping function and corresponding tests have been removed, as it has been completely replaced by the OverlappingFilterCheck function.
ncw
approved these changes
Jul 13, 2022
ncw
left a comment
Member
There was a problem hiding this comment.
Thanks for doing this.
I assumed you had done it in your original commit and missed that it didn't quite get all the usages.
This looks great - I'll merge it now.
I might sneak it into 1.59.1 also since it makes the code line up with the documentation.
Jwink3101
added a commit
to Jwink3101/syncrclone
that referenced
this pull request
Jan 5, 2023
- Undoes some (extensive) optimization to avoid overlapping remotes. Prior to rclone 1.59.0 (documented in 1.60.0), you could not have moves that overlap even if the destination was filtered. This was changed in [PR #6312](rclone/rclone#6312) so we can undo this optimization. **NOTE**: This will break compatibility with rclone versions less than 1.59.0! - Added a version check and error - Added an optimization to the move tracking execution. While not as optimized as full directory moving (which I contend has too many edge cases), it batches moves within common directory paths when possible. This still requires rclone to make file moves (as opposed to directory moves) but it avoids duplicate checks and enables rclone's (superior) threading. Copy from local devel repo: 2023-01-05 14:40:48 -0700|0b32b05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of this change?
I noticed while reading the changelog for v1.59.0 that changes have been listed that weren't actually implemented. I guess I must've missed the usage of the Overlapping function in the --backup-dir option. This PR replaces the old Overlapping function with the new filter-sensitive one and also adds documentation notes and hints in error messages.
Sorry for this oversight.
Was the change discussed in an issue or in the forum before?
No.
Checklist