[infinispan-dev] TotalOrder and jgroups
Bela Ban
bban at redhat.com
Tue Mar 6 08:47:47 EST 2012
No, I think this is a good idea. The algorithm should check if SEQUENCER
is present in the stack, and insert a new instance at startup if not,
otherwise no-op.
This is only for *replication*, correct ? For *distribution*, the
CloudTM folks will send us a different total order protocol (TOM)
soon... but the same mechanism can be applied.
On 3/6/12 12:58 PM, Mircea Markus wrote:
> Hi,
>
> Total order requires JGroup's SEQEUNCER[1] protocol to be added to the protocol stack. So users that want to switch between e.g. total order and optimistic TX are required to also change the jgroups config (and the other way around). This is not very user friendly, so I'm thinking to try and insert the SEQUENCER if it is missing from the stack and TotalOrder is enabled, together with a log message. Anyone sees any problem with this? Bela?
>
> [1] http://www.jgroups.org/javadoc/org/jgroups/protocols/SEQUENCER.html
--
Bela Ban
Lead JGroups (http://www.jgroups.org)
JBoss / Red Hat
More information about the infinispan-dev
mailing list