mickours / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

Treat rsync exit code 13 as temporary problem #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes when you manipulate files in source directory during a sync, rsync 
exits with exit code 13 which is treated as critical by lsyncd:
Oct 11 12:33:13 backend2 lsyncd: Error, Unknown exitcode on list = 13
Oct 11 12:33:13 backend2 lsyncd: Error, Critical exitcode.

I am using lsyncd 2.0.5 on debian squeeze with rsync 3.0.3.

lsyncd should simply retry the sync if rsync returns code 13. The patch is 
attached.

Original issue reported on code.google.com by anton.to...@gmail.com on 16 Nov 2011 at 12:02

Attachments:

GoogleCodeExporter commented 9 years ago
Your issue has been moved to https://github.com/axkibe/lsyncd/issues

Original comment by axk...@gmail.com on 16 Nov 2011 at 3:59