[Bug 13423] Checksum option does not work as expected when append-verify is used

2020-07-27 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13423

Wayne Davison  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #5 from Wayne Davison  ---
Combining --append with --checksum doesn't really make any sense, since
--append is a very special-case option for the transfer of growing files, and
you should not be including non-growing files that have differing content in
them within such a transfer.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 13423] Checksum option does not work as expected when append-verify is used

2018-05-08 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13423

--- Comment #4 from dariu...@me.com ---
Thank you for clarification.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 13423] Checksum option does not work as expected when append-verify is used

2018-05-08 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13423

--- Comment #3 from Kevin Korb  ---
>From man rsync --append:
> If a file needs to be transferred and its size on the receiver is the same or 
> longer than the size on the sender, the file is skipped.

--append-verify does the verify AFTER an append happens so if --append won't
copy the file neither will --append-verify.  Since --append essentially means
only care if the source file is bigger the file is ignored.

The combination is why I said you probably don't want either option and
especially not both options.  With both, all files on both ends are checksummed
first (even files that are only on one side!)  Then files that are bigger on
the source are appended to.  Then the files are verified.  Then if the
verification fails rsync throws a warning and redoes the whole file --inplace
style.

Normally I recommend against --checksum but I have no Mac experience and I
don't really know how your disk image files work.  In many cases it is actually
faster to use --ignore-times (delta-xfer everything regardless of timestamp)
and maybe --inplace instead of --checksum.  Usually --checksum is used when you
can't afford to write out a new file because of limited/slow writes or because
you are retaining the old version and don't want a new version unless it is
actually new.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 13423] Checksum option does not work as expected when append-verify is used

2018-05-08 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13423

--- Comment #2 from dariu...@me.com ---
Yes it is clear that --append-verify will not update the same size files.

But --checksum should check hashes of all files and trigger update if
different.

What is happening here looks like append-verify overwrites checksum
functionality.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 13423] Checksum option does not work as expected when append-verify is used

2018-05-08 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13423

--- Comment #1 from Kevin Korb  ---
If the file has not grown then there is nothing for --append[-verify] to do. 
Also, without --itemize-changes you have no reporting from --checksum.  You
probably shouldn't have either option.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html