[jboss-jira] [JBoss JIRA] Commented: (JGRP-1111) Draw demo does not work using state transfer, sequencer, and flush together.

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Dec 14 05:47:31 EST 2009


    [ https://jira.jboss.org/jira/browse/JGRP-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12499725#action_12499725 ] 

Bela Ban commented on JGRP-1111:
--------------------------------

Alg:

In the forwarder:
- marshal the message into a byte[] buffer (make sure dest == null and src is local address)
- Unicast a FORWARD message (payload=marshalled message) to the coord

At the coord:
- When receiving a FORWARD message, send a BCAST multicast with the wrapped message as payload

When receiving a BCAST:
- Unwrap the wrapped message (in the payload) and send it up the stack

Retransmission is always done to the sender of the wrapped message (the coord), which will resend the wrapped message.

> Draw demo does not work using state transfer, sequencer, and flush together.
> ----------------------------------------------------------------------------
>
>                 Key: JGRP-1111
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1111
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.13
>         Environment: CentOS 5.4
> Java 1.6.0.17
>            Reporter: sean chandler
>            Assignee: Vladimir Blagojevic
>             Fix For: 2.6.14, 2.8
>
>         Attachments: jgroups_broken.xml, jgroups_works.xml
>
>
> Draw demo does not work in conjunction with state transfer, sequencer, and flush in the stack.  Nodes will join initially and form a cluster.  Killing master node puts the survivor in an infinite flush block.  The killed node will never join the cluster again.
> Bug is not present in version 2.8.0CR6.
> Reproduce:
> Start two nodes using the command lines below.
> Draw on both panels.
> Kill master node.
> Draw on survivor.
> Bring up killed node.
> Infinite flush block (regardless of flush timeout).
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> x.x.x.0      0.0.0.0         255.255.240.0   U     0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
> 224.0.0.0       0.0.0.0         240.0.0.0       U     0      0        0 eth1
> 0.0.0.0         x.x.x.x.254    0.0.0.0         UG    0      0        0 eth0
> node0> java -classpath commons-logging.jar:jgroups-all.jar -Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=169.254.0.1 org.jgroups.demos.Draw -state -props jgroups.xml
> node1> java -classpath commons-logging.jar:jgroups-all.jar -Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=169.254.0.2 org.jgroups.demos.Draw -state -props jgroups.xml

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

        



More information about the jboss-jira mailing list