[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-674 - Propagating changes on ClusteredConnec
clebert.suconic@jboss.com
do-not-reply at jboss.com
Mon Jan 15 17:35:40 EST 2007
I'm thinking about how to fix this racing condition:
I - ClientClusteredConnectionFactoryDelegate has this following failoverMap:
Server 1->Server2->Server3->Server 1
II - Server1 is killed
III - Now the CF::failoverMap is updated to:
Server2->Server3->Server2
IV - A failure happens on a connection directed on Server1. FailoverMap doesn't have the information about Server1 any more.
I will keep coding and maybe we will need to have the failoverMap on the Connection instead of ConnectionFactory, and having failover updating these fields on Connection only when a failure happens.
As I said I am thinking about how to fix this, and I'm almost sure how to fix this. I wanted to post this just to keep the team informed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001983#4001983
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001983
More information about the jboss-dev-forums
mailing list