samba-bugs at samba.org
2009-Sep-13  21:16 UTC
DO NOT REPLY [Bug 6719] New: I/O error protection is broken w/ protocol 30 and incremental recursion
https://bugzilla.samba.org/show_bug.cgi?id=6719
           Summary: I/O error protection is broken w/ protocol 30 and
                    incremental recursion
           Product: rsync
           Version: 3.0.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
         QAContact: rsync-qa at samba.org
See http://lists.samba.org/archive/rsync/2009-September/023892.html .  IIUC,
the feature that disables deletion upon an I/O error is mostly non-functional
with protocol 30, incremental recursion, and --delete-during.  That could lead
to a catastrophic loss of destination files, which the feature was intended to
prevent.
One safe behavior for a sender that gets an I/O error and is unable to report
it reliably to the receiving side would be to exit immediately with a message
explaining the issue.  That way, users with rsync 3.0.* (the current stable
branch) can still use incremental recursion safely and then switch to a
different approach if they frequently get I/O errors.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2009-Dec-31  21:49 UTC
DO NOT REPLY [Bug 6719] I/O error protection is broken w/ protocol 30 and incremental recursion
https://bugzilla.samba.org/show_bug.cgi?id=6719
wayned at samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Version|3.0.6                       |3.0.7
------- Comment #1 from wayned at samba.org  2009-12-31 15:49 CST -------
3.0.7 has this fixed (and in a way that is compatible with 3.1.0).  If the
sender has enough information to know that it should die when an I/O happens
(for an older receiver that is doing a delete-during pass), it will do that
too.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Apparently Analagous Threads
- DO NOT REPLY [Bug 5266] New: Duplicate "not creating new directory" output w/ incremental recursion
- DO NOT REPLY [Bug 5091] New: Incremental-recursive, list-only "rsync --delete" tries to clean out working dir
- DO NOT REPLY [Bug 5199] New: Exclusion of source arg ancestor short-circuits recursion
- DO NOT REPLY [Bug 7862] New: hard-links and incremental recursion: unclear what happens
- DO NOT REPLY [Bug 7936] New: Random false checksum mismatches