[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: split-brain between live and backup node
timfox
do-not-reply at jboss.com
Tue Feb 10 13:16:02 EST 2009
In MessagingServerImpl:
| private static class NoCacheConnectionLifeCycleListener implements ConnectionLifeCycleListener
| {
| private RemotingConnection conn;
|
| public void connectionCreated(final Connection connection)
| {
| }
|
| public void connectionDestroyed(final Object connectionID)
| {
| if (conn != null)
| {
| conn.destroy();
| }
| }
|
| public void connectionException(final Object connectionID, final MessagingException me)
| {
| if (conn != null)
| {
| conn.fail(me);
| }
| }
| }
|
You can see that when the connection is destroyed (closed as opposed to failed) then the failure handler won't be called, so the channel never knows its replicating channel is dead.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208697#4208697
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208697
More information about the jboss-dev-forums
mailing list