-
1. Re: JGroups: Problem with rebooting peers
belaban Jun 29, 2007 5:50 AM (in response to mrkmrk)You're not losing those messages, as it is not the transport but either UNICAST or NAKACK which will resend a message until it has been delivered.
Mailing lists for JGroups are at
http://sourceforge.net/mail/?group_id=6081 -
2. Re: JGroups: Problem with rebooting peers
mrkmrk Jun 29, 2007 7:16 AM (in response to mrkmrk)But we are using TCP.
Our configuration:
TCP(start_port=7810)
Shouldn't that do what UNICAST would do?
As I understand it, BasicConnectionTable is in the layer called "BuildingBlocks". UNICAST and NACKACK are in lower layers. How can a lower layer help things gone wrong in a higher layer?
Best regards,
Morten -
3. Re: JGroups: Problem with rebooting peers
belaban Jun 29, 2007 7:26 AM (in response to mrkmrk)No, the connection table is in the transport layer (TCP) and as such doesn't have to be concerned about retransmission or failed members.
So, the failure detection layer (FD) will at one point kick in and remove the rebooted node from the cluster. Until this happens, TCP will happily continue trying to send packets to that node, and that's what you might be seeing. -
4. Re: JGroups: Problem with rebooting peers
mrkmrk Jun 29, 2007 8:02 AM (in response to mrkmrk)Our code is very simple, and as such we have no concept of cluster.
We basically have a "Channel" upon which we call "send(Message msg)".
When the method returns we don't know whether the transmission went through or not. Therefore if the socket is closed, the message is lost.