[
https://jira.jboss.org/jira/browse/JBMESSAGING-1457?page=com.atlassian.ji...
]
Howard Gao reopened JBMESSAGING-1457:
-------------------------------------
deleteBindingFromStorage() should not be called on standalone distributed queues. should
be :
if (localQueue != null)
{
//need to merge the queues
log.debug(this + " has already a queue: " + queue.getName() +
" queue so merging queues");
localQueue.mergeIn(queue.getChannelID(), failedNodeID.intValue());
log.debug("Merged queue");
deleteBindingFromSTorage(queue); // something like that
}
Having unexistent destinations in one node may leave the cluster in
an un usable situation
------------------------------------------------------------------------------------------
Key: JBMESSAGING-1457
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1457
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.0.SP3.CP04
Reporter: Clebert Suconic
Assignee: Howard Gao
Priority: Minor
Fix For: 1.4.0.SP3.CP05
MessagePostOffice::performFailover will interrupt the failover process, if a Queue is
deployed in one node, but not in all nodes.. Even if the queue is not being used.
I know users are required to deploy the clustered queues in all nodes
But we should at least give a bigger warning here:
//Cannot failover if there is no queue deployed.
throw new IllegalStateException("Cannot failover "
+ queue.getName() + " since it does not exist on this node. " +
"You must deploy your clustered
destinations on ALL nodes of the cluster");
Or maybe just stopping the merge for that specific queue (with a big warning with the
mistake made) and keep merging the other queues.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira