[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 12:55:48 EST 2009


When those replicating connections are closed, the handler in RemotingConnectionImpl:


  |  private class ReplicatingConnectionFailureListener implements FailureListener
  |    {
  |       public boolean connectionFailed(final MessagingException me)
  |       {
  |          synchronized (RemotingConnectionImpl.this)
  |          {
  |             for (Channel channel : channels.values())
  |             {
  |                channel.replicatingChannelDead();
  |             }
  |          }
  | 
  |          return true;
  |       }
  |    }
  | 

Should be called.

This tells the live channels there is no more replicating channel and they should continue without replicating.

Is this being called?

If not, then that's where you need to debug

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

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



More information about the jboss-dev-forums mailing list