[Csync2] csync2 prefix mapping ==> I/O Error 'No such file or directory' in rsync-check

Samba saasira at gmail.com
Tue Jul 17 19:14:13 CEST 2012


Hi Lars,

I have updated the patch to also sync the complete directory tree, but in
the subsequent run.

I tried to make it sync in the same run by trying to invoke
csync_update_file_mod funtion but was getting "Format Error", so left it
with syncing in the subsequent run by marking those children
[files/folders] as dirty.

I also made a minor fix related to creating the configured backup directory
instead of failing with an unrecognizable error message "Format Error".

I'm confident that this patch makes csync2 more stabler and leavese very
few chances of failing.

I hope this patch gets approved and finally makes its way to the trunk soon.


Thanks and Regards,
Samba


PS:

A note about handling deletes with auto-mode younger/older ---  perhaps we
may not have a clean way of identifying whether the deletion on one node is
younger than a modification on the other node when we are relying on
scheduled mechanism like cron but we would certainly be able to distinguish
when we integrate an inode eventing mechanism like lsync for populating the
"hints" table. I agree that we should keep it for future though.

============================================================
=======================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120717/6d1c9d0c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deleted_subdir.patch
Type: application/octet-stream
Size: 41437 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120717/6d1c9d0c/attachment-0001.obj>


More information about the Csync2 mailing list