samba-bugs at samba.org
2017-Jan-16 21:26 UTC
[Bug 12522] New: [PATCH] Send last error messages to sender
https://bugzilla.samba.org/show_bug.cgi?id=12522
Bug ID: 12522
Summary: [PATCH] Send last error messages to sender
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: ben.rubson at gmail.com
QA Contact: rsync-qa at samba.org
Created attachment 12832
--> https://bugzilla.samba.org/attachment.cgi?id=12832&action=edit
Send last error messages to sender
Hello,
Here is a patch which sends last error messages to sender for a file-transfer
which failed.
It helps especially with protocol < 31.
This can be useful for example to know that a FS is full.
Thank you !
Ben
### Without :
/repository/mybigfile.iso
539.26M 6% 11.21MB/s 0:11:01
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2]
### With (of course the interesting message here is the first one) :
/repository/mybigfile.iso
539.26M 6% 11.21MB/s 0:11:01
rsync: write failed on "/repository/mybigfile.iso" (in bkp): Disc
quota
exceeded (69)
rsync error: error in file IO (code 11) at receiver.c(400) [receiver=3.1.2]
rsync error: error in file IO (code 11) at io.c(1633) [generator=3.1.2]
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2]
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2017-Jan-17 20:15 UTC
[Bug 12522] [PATCH] Send last error messages to sender
https://bugzilla.samba.org/show_bug.cgi?id=12522
Ben RUBSON <ben.rubson at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12832|0 |1
is obsolete| |
--- Comment #1 from Ben RUBSON <ben.rubson at gmail.com> ---
Created attachment 12838
--> https://bugzilla.samba.org/attachment.cgi?id=12838&action=edit
Send last error messages to sender
Nicer / smarter version.
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2017-Jan-18 14:00 UTC
[Bug 12522] [PATCH] Send last error messages to sender
https://bugzilla.samba.org/show_bug.cgi?id=12522
Ben RUBSON <ben.rubson at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12838|0 |1
is obsolete| |
--- Comment #2 from Ben RUBSON <ben.rubson at gmail.com> ---
Created attachment 12841
--> https://bugzilla.samba.org/attachment.cgi?id=12841&action=edit
Send last error messages to sender
Error correction on sender side.
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2018-Feb-13 17:06 UTC
[Bug 12522] [PATCH] Send last error messages to sender
https://bugzilla.samba.org/show_bug.cgi?id=12522
Ben RUBSON <ben.rubson at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12841|0 |1
is obsolete| |
--- Comment #3 from Ben RUBSON <ben.rubson at gmail.com> ---
Created attachment 13959
--> https://bugzilla.samba.org/attachment.cgi?id=13959&action=edit
Send last error messages to sender
Modified patch to seamlessly suit rsync 3.1.3.
Thx !
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2020-May-26 17:14 UTC
[Bug 12522] [PATCH] Send last error messages to sender
https://bugzilla.samba.org/show_bug.cgi?id=12522
Ben RUBSON <ben.rubson at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #4 from Ben RUBSON <ben.rubson at gmx.com> ---
Patch moved : https://github.com/WayneD/rsync/pull/2
--
You are receiving this mail because:
You are the QA Contact for the bug.
Seemingly Similar Threads
- [Bug 12527] New: Sender waits for timeout when fuzzy basis file found
- [Bug 12525] New: [PATCH] Avoid uploading whole file when transfer fails
- [Bug 12838] New: [PATCH] Log sent/received bytes even in case of error
- [Bug 12498] New: --fuzzy --fuzzy hugely impacts performance even if its' not needed
- [Bug 12817] New: [PATCH] Allow daemon itself to chroot