Repository navigation
Description
Synopsis
Delta engine in the bisync beta can only use modtime to detect changes.
We should take hashsums into consideration too, respect the --checksum flag (and probably --ignore-checksum, but this has to be confirmed).
Prior discussions
See cjnaz/rclonesync-V2#5 and...
#5164 (comment) (cjnaz)
Data point...
The TiBU directory has 19GB of files. Path2 is a local dir. 2+ minutes for the Path2 checking for diffs step.
I tried the --ignore-checksum switch to no avail.
2021/06/10 14:36:26 INFO : Synching Path1 "owncloud:TiBU/" with Path2 "/.../TiBU/"
2021/06/10 14:36:26 INFO : Path1 checking for diffs
2021/06/10 14:36:26 INFO : Path2 checking for diffs
2021/06/10 14:38:37 INFO : No changes found
#5164 (comment) (ivandeex) -> (ncw)
Current beta contains a quick fix: in presence of --ignore-checksum the hashes will never be calculated (be it local fs, remote fs, or whatever). This is not a real solution but a kludge for your test.
For a real solution we have to develop a number of rclonic rules for all case combinations: what to do if listings contain hash but user flagged ignore, how future name tracker will interact with this flag, should we treat backends with fast and slow hashsums differently, how --checksum and --ignore-checksum interact, etc, etc... It's a separate discussion and I'll drop this quick fix after all questions get solved.
For now you can try --ignore-checksum and evaluate the speed.
#5164 (comment) (cjnaz)
--ignore-checksum brought the 19GB no-changes run down from 2 minutes to less than 1 second. Thanks for the interim hack.
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Metadata
Metadata
Type
Projects
- StatusShow more project fieldsDone
Activity
bisync: bug fixes and new features including --create-empty-src-dirs …
nielash commentedon Aug 23, 2023
I think the
--ignore-checksumpart of this ticket is mostly addressed by 66ccc7c.The
--checksumpart remains an important to-do. Among other things, it will help us lift the ban on backends that don't supportmodtime.bisync: full support for comparing checksum, size, modtime - fixes rc…
Merge branch 'master' into ia-wt-1168
bisync: full support for comparing checksum, size, modtime - fixes rc…
bisync: full support for comparing checksum, size, modtime - fixes rc…