[
https://issues.jboss.org/browse/JGRP-1563?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1563:
--------------------------------
The resending can be integrated with the retransmit task: in addition to asking for
missing messages, the retransmit task also checks all SenderEntry elements and sees if the
ack for the first message has been received. If not, it resends the first message.
This way, we don't need another task to run in the timer.
UNICAST2: first-message-lost problem
------------------------------------
Key: JGRP-1563
URL:
https://issues.jboss.org/browse/JGRP-1563
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.2.6, 3.3
If A sends its first message A#1 to B, but the network drops A#1, B won't be able to
receive A#1 unless A sends another message.
Even the stable task won't help: as B only sends stable messages to connected members
(and A isn't), it will never send a stable message to A.
SOLUTION:
- Use acking for the first message
- Continue sending the first message until it has been acked, or a configurable time
period has elapsed
- Note that we cannot cancel this task based on *membership* (view changes), as unicast
messages can be sent to members outside of our view
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira