solotimes / lsyncd

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

sync recursive issue #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.server A sync files to Server B
2.server B also sync the same files to Server A
3.there is a recursive loop
4.when sync small file it works fine,but big file , will no
5.in the syncing process there will generate a lot of temp file,named 
.filename.XX31z 
..filename.Xua1 
...filename.A6a51 
or so
6.dose v2.0 solved this problem?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

lsyncd 1.0

Original issue reported on code.google.com by swingcoder on 23 Feb 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Lsyncd 1.0 is very, very old. I really recommend to update to 2.0.2. 

Lsyncd (also 2.0.2) is not designed for two-synchronisation out of the box, 
because it requires you to take some precautions. If you want to do so, you 
have to change the rsyncOps to have rsync write the data out of place, and to 
make sure if files are interdependant on each other the same cluster is not 
written at the same time on both boxes.

Original comment by axk...@gmail.com on 24 Feb 2011 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by axk...@gmail.com on 25 Feb 2011 at 3:43