[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - LoadMessages problem during merge...

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Sep 19 17:03:25 EDT 2007


An user reported to me about a problem that happened to him once during merge:

PagingChannelSupport couldn't load the the exact number of messages:


  | java.lang.IllegalStateException: Did not load correct number of messages, wanted:3331 but got:3330
  |         at org.jboss.messaging.core.impl.PagingChannelSupport.processReferences(PagingChannelSupport.java:579)
  |         at org.jboss.messaging.core.impl.PagingChannelSupport.doLoad(PagingChannelSupport.java:497)
  |         at org.jboss.messaging.core.impl.MessagingQueue.mergeIn(MessagingQueue.java:223)
  |         at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.performFailover(MessagingPostOffice.java:2918)
  |         at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.nodesLeft(MessagingPostOffice.java:917)
  |         at org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener$1ViewChangeRunnable.run(GroupMember.java:489)
  |         at java.lang.Thread.run(Thread.java:595)
  | 

I'm trying to replicate the issue, but this makes me wonder about two things:


I - What should we do when an exception happens on Merge?
   Right now the serve becomes unstable and nothing works after that. The Failover is interrupted, merges are not disconnected and some other problems are happening.

II - Can we just ignore the message, and produce a WARN on logs instead of interrupting the failover?

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

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



More information about the jboss-dev-forums mailing list