[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-674 - Propagating changes on ClusteredConnec

timfox do-not-reply at jboss.com
Wed Jan 17 04:40:09 EST 2007


"clebert.suconic at jboss.com" wrote : Well.. I could replicate this in a testcase.. so it is a problem.
  | 
  | 
  | You have Server1, Server2, and Server3
  | 
  | Then you have a map:
  | 
  | 1->2
  | 2->3
  | 3->1
  | 
  | Now you kill server1:
  | 
  | Map now is:
  | 
  | 2->3
  | 3>2
  | 
  | You don't have 1 on the MAP.
  | 
  | When a connection on server1 fails.. it won't find an ID on failoverMAP. I could replicate this on a testcase.

Surely you shouldn't update the failover map after node failure until all connections have failed over from the old server?

Then you can prevent this "race condition" from happening in the first place?

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

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



More information about the jboss-dev-forums mailing list