[infinispan-issues] [JBoss JIRA] Updated: (ISPN-928) Interceptor that allows invocations only when cluster is formed of N nodes

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Sep 5 10:39:26 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-928:
----------------------------------

    Fix Version/s: 5.2.0.FINAL
                       (was: 5.1.0.BETA1)
                       (was: 5.1.0.FINAL)


> Interceptor that allows invocations only when cluster is formed of N nodes
> --------------------------------------------------------------------------
>
>                 Key: ISPN-928
>                 URL: https://issues.jboss.org/browse/ISPN-928
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Configuration, RPC
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 5.2.0.FINAL
>
>
> Following from https://github.com/pmuir/infinispan-examples/commit/f5d090092fa7b3660025b571af29882c720bb987#L6R12
> It'd be great to have an configurable StrictCluster interceptor in Infinispan which would basically make all invocations wait until the cluster of N nodes has been formed. I think it'd be a great addition and would allow clients to verify whether the cluster actually forms without the need to verify whether data replicates...etc.
> In principle, the configuration would be at the CacheManager, i.e.:
> <transport strictNumMembers="4"... />
> However, it could also be useful to configure it at the cache level. So, could maybe want to do this: I want cache X to allow invocations the moment I have 2 nodes (in spite of the cluster being formed of 4 noes), whereas I want cache Y to allow invocations once I have 3 nodes.
> Apart from an strict number of nodes, you could have a minimum number of nodes: allow invocations once I have 4 or more nodes. The strict value could still be useful to make sure intrusive machines don't get into the cluster, i.e. I expect 4 nodes in the cluster and if I have 5, something is wrong.
> I think it's an interesting concept that would get rid of cluster validation code in examples and RadarGun.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list