[jboss-jira] [JBoss JIRA] Commented: (JGRP-281) Investigate whether sent messages need to be buffered in NAKACK

Bela Ban (JIRA) jira-events at jboss.com
Mon Dec 18 10:47:39 EST 2006


    [ http://jira.jboss.com/jira/browse/JGRP-281?page=comments#action_12348953 ] 
            
Bela Ban commented on JGRP-281:
-------------------------------

We can actually club sent_msgs, received_msgs and delivered_msgs into *one* xmit_table variable !

Mcast message is sent:
- in down() we add the message to xmit_table
- if loopback is set, we pass a copy of the message back up the stack and increment the 'delivered' counter of 
   xmit_table for ourselves

Mcast message is received:
- If sender == self and loopback is set: discard

Stability message is received:
- Remove messages from xmit_table whose seqno is lower than the stability message

> Investigate whether sent messages need to be buffered in NAKACK
> ---------------------------------------------------------------
>
>                 Key: JGRP-281
>                 URL: http://jira.jboss.com/jira/browse/JGRP-281
>             Project: JGroups
>          Issue Type: Task
>    Affects Versions: 2.4, 2.3 SP1
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.5
>
>
> NAKACK buffers sent messages in sent-table and received messages in received-table. We might be able to discard sent-table entirely because received-table will contain a message sent by oneself !
> Once we have loopback in place by default, we can be sure that any message sent by P will be in P's received-table.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list