samba-bugs at samba.org
2013-Feb-13 08:01 UTC
[Bug 9657] New: --compare-dest results inconsistent between major 2 and major 3
https://bugzilla.samba.org/show_bug.cgi?id=9657 Summary: --compare-dest results inconsistent between major 2 and major 3 Product: rsync Version: 3.0.9 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: phil at croftvillas.com QAContact: rsync-qa at samba.org Hi I use the compare dest option to calculate a residual difference directory of files.. this has been very successful. I noticed when running on a box with version 3.0.9 of rsync that this feature was giving me different results to before. Re-created on my Mac thus: Note: The compare-dest test passed for both builds phillyair:rsync philipc$ ls rsync-2.6.9 rsync-3.0.9 phillyair:rsync philipc$ mkdir -p compare/src1 compare/src2 phillyair:rsync philipc$ cd compare/ phillyair:compare philipc$ touch src1/file1 src1/file2 phillyair:compare philipc$ touch src2/file1 src2/file2 src2/file3 phillyair:compare philipc$ ../rsync-2.6.9/rsync -av --size-only --compare-dest=../src1/ ./src2/ dest1 building file list ... done created directory dest1 ./ file3 sent 165 bytes received 60 bytes 450.00 bytes/sec total size is 0 speedup is 0.00 phillyair:compare philipc$ rm -fr dest1 phillyair:compare philipc$ ../rsync-3.0.9/rsync -av --size-only --compare-dest=../src1/ ./src2/ dest1 sending incremental file list created directory dest1 ./ file1 file2 file3 sent 118 bytes received 40 bytes 316.00 bytes/sec total size is 0 speedup is 0.00 I would expect just the difference to be in the dest directory as is the case for rsync-2.6.9. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-May-27 00:05 UTC
[Bug 9657] --compare-dest results inconsistent between major 2 and major 3
https://bugzilla.samba.org/show_bug.cgi?id=9657 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Wayne Davison <wayned at samba.org> 2013-05-27 00:05:54 UTC --- There have been a lot of bug fixes in compare dest over time, including proper determination of files not really being equal due to things like permission differences, xattr differences, etc. (All depending on what you tell rsync to preserve.) I'd imagine this is one of the instances that earlier rsyncs got wrong. e.g., in your test case, you'd need to specify --no-t if you don't want a different mtime to cause the files to be unequal. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.