[Bug 12838] New: [PATCH] Log sent/received bytes even in case of error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 12838] New: [PATCH] Log sent/received bytes even in case of error

Samba - rsync mailing list
https://bugzilla.samba.org/show_bug.cgi?id=12838

            Bug ID: 12838
           Summary: [PATCH] Log sent/received bytes even in case of error
           Product: rsync
           Version: 3.1.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Created attachment 13271
  --> https://bugzilla.samba.org/attachment.cgi?id=13271&action=edit
rsync_log_daemon

Hello,

This patch allows the daemon to log data sent/received even in case of error,
which can be interesting to have when the transfer has been interrupted by the
client.

Thank you !

Ben

--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 12838] [PATCH] Log sent/received bytes even in case of error

Samba - rsync mailing list
https://bugzilla.samba.org/show_bug.cgi?id=12838

--- Comment #1 from Ben RUBSON <[hidden email]> ---
Mmmmh unfortunately numbers are not correct.

# Sender side (which interrupts the transfer receiving SIGUSR2) :
Total file size: 16­.85G bytes
Total transferred file size: 183­.38M bytes
Literal data: 182­.32M bytes

# Receiver side :
rsyncd: rsync: connection unexpectedly closed (202529 bytes received so far)
[generator]
rsyncd: sent 24749 bytes  received 202529 bytes  total size 16845198594

Perhaps related to bug #10738 where stats are also not correctly calculated.

--
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