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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...