[Csync2] auto younger not working

Clifford Wolf clifford at clifford.at
Wed Jul 11 20:18:03 CEST 2007


Hi,

On Tue, Jul 10, 2007 at 10:31:25AM +0100, prashant wrote:
> 1. What i did is modified a file on db2 and ran csync2 -xv on db1 -  and my 
> expected result would be that
>     the file should be copied to db1 - is that right or i am wrong, csync2 
> does not do that?
>     Or is there something i am missing to get this working??
>
> 2. I modified a file on db1 and after a few seconds modified the same file 
> on db2 and ran csync -xv on db1.
>    My expected result would be the file from db2 should be copied to db1 
> with file on db2 winning as its younger...
>    but i get the result below

csync2 is always pushing files - never pulling them.

> ERROR from peer db2: File is also marked dirty here!
> Do not auto-resolve conflict: Lost 'younger/older' test.
> File stays in dirty state. Try again later...
> Finished with 1 errors.
> root at db1:/var/dir#

you tried to push a file from db1 to db2 but since the file on db2 is
younger your file lost the test and so nothing happend.

try pushing the file from db2 to db1 and it will work.

yours,
 - clifford

-- 
Prof: So the American government went to IBM to come up with
a data encryption standard and they came up with ...
Student: EBCDIC!


More information about the Csync2 mailing list