[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Ksync: Two way sync problem

Server does not send any changes that made in test1.xml file to clients.
If you need to send changes from server to client (2 way Sync) you need
to use the following use case:
1.start client A
2.make change on client A
3.synchronize it with server (change will be send to server here)
4.start clint B with another Client parameter in jad file (say
3.synchronize it with server (change b will be send to server here and
change a will be received from server)

As concern restarting the server. Unfortunatelly in current
implementation server stores change log in the memory. So after
restarting the server change log will be loosed.
So it will not send any changes to clients after restarting. Moreover,
when server performs the first synchronization session with client it
send full XML document on client (using Slow Sync SyncML scenarion). It
couldn't start synchronization without performing this operation. After
restarting server think that it was never synchronized with client
(because it loosed change log). So it requires SlowSync with any client
that tries another synchronization scenario. That's why client receives
508 "Slow sync necessary"


>>-----Original Message-----
>>From: ksync-admin@enhydra.org 
>>[mailto:ksync-admin@enhydra.org] On Behalf Of stephanemartin@kodak.com
>>Sent: Thursday, February 27, 2003 12:15 PM
>>To: kSync@enhydra.org
>>Subject: Ksync: Two way sync problem
>>Hi all,
>>I found in this list archives a message that corresponds 
>>exactly to my problem, But unfortunately nobody has reply.
>>I past the question :
>>"The following use case seems to NOT work properly.  I 
>>started the server and the client.  I made a modification to 
>>an attribute and synced with the server.  This works ok.  
>>When I make a modification to the data on the server 
>>(modifying the test1.xml file) and then tell the client to 
>>sync again I don't get the updates made on the server sent to 
>>the client.  I thought this might have been because the 
>>test1.xml file was not re-read from the filesystem, so I 
>>tried restarting the server and then it works, but it doesn't 
>>send the changes, it only ever does a "508" (Slow sync 
>>necessary) response to the client which means it sends the 
>>entire database contents (in this case the contents of the test1.xml
>>file) from the server to the client.  This doesn't seem like 
>>the correct operation because this replaces any modifications 
>>currently in the client with what the server sent.  Am I 
>>doing something wrong or am I misunderstanding something?"
>>Any idea ?
>>Thank you for your time.
>>Ksync mailing list