Skip to content

bisync: honor --checksum and --ignore-checksum #5683

Closed

Description

@ivandeex

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.

Activity

  1. added this to the v1.58 milestone on Oct 8, 2021
  2. self-assigned this
    on Oct 8, 2021
  3. modified the milestones: v1.58, v1.59 on Jan 14, 2022
  4. modified the milestones: v1.59, v1.60 on Feb 13, 2022
  5. modified the milestones: v1.60, Help Wanted on Dec 5, 2022
  6. nielash commented on Aug 23, 2023

    @nielash
    Contributor

    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.

    I think the --ignore-checksum part of this ticket is mostly addressed by 66ccc7c.

    The --checksum part remains an important to-do. Among other things, it will help us lift the ban on backends that don't support modtime.

  7. self-assigned this
    on Sep 5, 2023
  8. modified the milestones: Help Wanted, Soon on Sep 5, 2023
  9. added a commit that references this issue on Jan 20, 2024
    4bde7f2
  10. added a commit that references this issue on Jan 23, 2024
    f70a4c6
  11. added a commit that references this issue on Jan 26, 2024
    b421664
  12. moved this to Done in bisyncon Aug 20, 2024
  13. added a commit that references this issue on Jul 20, 2026
    d280cea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions