You may be able to shut off the merge protocol of JGroups as well.

Adrian Brock wrote:

On Wed, 2003-12-10 at 15:14, Sebastian Hauer wrote:

Hi Ivelin,

I think its great that JBoss offers now some kind of JMS clustering. In
my opinion this was a long missing feature.
I think I understand most of the drawbacks of the singleton MBean based
failover, yet there is something in regards to JMS I am not sure about.
What if the cluster partition splits (e.g. networking problem) and we
end up with 2 autonomous partitions temporarily. Then the singleton
MBean in both partitions would elect a new master node, so each
partition would have its own master. In case of JMS we would end up
with 2 JMS servers. As soon as the networking issue is resolved the 2
partitions would merge and again the singleton MBeans would elect a new
master so that the merged cluster ends up with only one JMS server. So my question is, is there any harm or reliability issue for JMS during
the time when 2 JMS nodes are up at the same time?




This would not work, you would end up with two servers modifying the
same persistent store each with different ideas about what is the next
message id and transaction id. Most likely this would fail with some primary key constraint violation
or data not found.


The only way to make this work would be to have cluster safe unique
keys (such as a GUID) and force jms to restart on any newly elected
master (even if it was previously a master) to "merge" the db changes as the cluster partitions are merged.


Regards,
Adrian


Regards,
Sebastian




-----Original Message-----
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 12:12 PM
To: Sacha Labourey; [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] JMS Clustering




See this document for a detailed description: http://www.cocoonhive.org/articles/jboss/20031125/JBoss32-hajms.html

The code is simple and solid. If you describe your use case I may be able to advise
whether it will work for you.


Regards,

Ivelin

_______________________________________________________ This message is for the named recipient's use only. It may contain sensitive and private proprietary information. No confidentiality is waived or lost by any incorrect transmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.



------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

-- ================ Bill Burke Chief Architect JBoss Group LLC. ================



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to