[infinispan-dev] TotalOrder and jgroups

Sanne Grinovero sanne at infinispan.org
Tue Mar 6 08:41:31 EST 2012


I might need COUNTER as well in the stack for certain configurations.

AFAIR, COUNTER would not affect the stack unless invoked explicitly so
I'm assuming when I'll finally use it I should be able to enable it on
all relevant configurations by default without fear of affecting other
users of the same channel; so being able to insert it dynamically on
an existing stack would be very useful, however it sounds like an
unpolished hack: one might add protocols which affect other Channel
users, or create unintended side-effects.

Could we do better and provide a shared base communication channel on
top of differently configured logical channels? Conceptually similar
to the MuxChannel, but moving the split point to a lower point in the
stack.

On 6 March 2012 12:43, Tristan Tarrant <ttarrant at redhat.com> wrote:
> On 03/06/2012 01:39 PM, Tristan Tarrant wrote:
>> On 03/06/2012 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?
>> What about when Infinispan is not the owner of the JGroups channel, i.e.
>> in the AS?
>>
> Replying to myself: I guess this could be done by offering different
> named configurations
>
> Tristan
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list