Hi Carsten,

I think I have somehow understood the problem now. It has two main aspects: 
network communication and changelist based synchronisation.

With StreamSock enabled, the communication seems to work well but the sync for 
latter arriving servers went wrong. The issue was that the completeState 
changelist I created before doing the sync contains everything except the type 
mapping (NEWTYPE fields) definitions as they are only generated once. I was 
able to fix that. Patch for RemoteAspect is attached. 
Now everything seems to run fine as long as I use StreamSock.
With Multicast enabled, it seems communication between client and late arriving 
server is not initialized well. Looking at the code in OSGGroupMcastConnection 
the reason seems to be clear. Method initialize() is only called once, before 
the first message is send over the connection. That means server1 is respected 
by initialization, latter ariving servers not. I tried to move the server 
specific initialization code into the connectPoint() implementation but 
unfortunately failed to understand the logic behind the acknoledgement handling 
:-( (Lines 644-670). Hope someone may help to split the initlization into a 
general and a server(socket) specific part.

Thanks & Best regards,
Michael

-------- Original-Nachricht --------
> Datum: Wed, 26 Oct 2011 17:45:26 +0200
> Von: "Michael Raab" <michael-r...@gmx.de>
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] OpenSG1.8 - Disconnecting ClusterWindow and 
> ClusterServer

> Hi Carsten,
> 
> related to that issue, I have another problem. If I try to connect one
> server later than the other, it seems the latter don't get its initial sync.
> I have no clue why this may happen. I've attached the cluster example that
> we used to figure out the mcast problem.
> You may start the client and server1 first. After that start server2 and
> press '2' in the client window. That should add the second server to the
> clusterwindow. The connection seems to be established but then the second
> server waits forever for its initial sync while the client waits for the swap
> signal from server 2.
> Could you please have a look? I ran out of ideas :-(
> 
> Thanks,
> Michael
> -- 
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!             
> Jetzt informieren: http://www.gmx.net/de/go/freephone

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

Attachment: RemoteAspect.patch
Description: Binary data

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to