[jboss-user] [Clustering/JBoss] - Re: Forcing Topology change

kpandey do-not-reply at jboss.com
Thu Aug 31 20:16:21 EDT 2006


Brian
  I tried Jgroups 2.3SP1 ( I didn't see 2.3 sp2 in sorceforge) and it works!
Stop and start of partition is working across node1 and node2. However I see a behavior that is probably a bug.
So I have 10.0.1.61 and 10.0.1.62 in a cluster with 10.0.1.61 as Master.
I close partition on 10.0.1.61. 10.0.1.62's current view changes to contain just itself and becomes Master.
However 10.,0.1.61's  current view still has [10.0.1.61. 10.0.1.62] although the Master flag is false in SingletonController. 
Shouldn't the current view be reset in 10.0.1.61 when it leaves the partition?

Now I start partition on 10.0.1.61. It initially starts a new view with itself and does a merge with 10.0.1.62. However instead of 10.0.1.62 becoming Master. It remains a master. Since 10.0.1.61 left the partition , shouldn't it have come up as non master ?   Also it is receiving a membershipChanged event with 10.0.1.62 as dead member. I couldn't understand this. I'll try the scenario with UDP as well to see if both behaves similarly. 


Below is the server log

23:52:34,434 INFO  [DefaultPartition] Closing partition DefaultPartition
23:52:39,440 INFO  [DefaultPartition] Partition DefaultPartition closed.
23:53:41,839 INFO  [STDOUT]
-------------------------------------------------------
GMS: address is 10.0.1.61:7800
-------------------------------------------------------
23:53:45,342 INFO  [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: -1) : [10.0.1.61:1099]
23:53:45,343 INFO  [DefaultPartition] Number of cluster members: 1
23:53:45,343 INFO  [DefaultPartition] Other members: 0
23:53:45,343 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
23:53:45,345 INFO  [DefaultPartition] I am (10.0.1.61:1099) received membershipChanged event:
23:53:45,345 INFO  [DefaultPartition] Dead members: 1 ([10.0.1.62:1099])
23:53:45,345 INFO  [DefaultPartition] New Members : 0 ([])
23:53:45,346 INFO  [DefaultPartition] All Members : 1 ([10.0.1.61:1099])
23:53:58,979 INFO  [DefaultPartition] New cluster view for partition DefaultPartition (id: 11, delta: 1) : [10.0.1.61:1099, 10.0.1.62:1099]
23:53:58,980 INFO  [DefaultPartition] Merging partitions...
23:53:58,981 INFO  [DefaultPartition] Dead members: 0
23:53:58,981 INFO  [DefaultPartition] Originating groups: [[10.0.1.61:7800|0] [10.0.1.61:7800], [10.0.1.61:7800|10] [10.0.1.62:7800]]
10.0.1.62:1099



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968810#3968810

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968810



More information about the jboss-user mailing list