[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-790) Include partition name in cluster name of caches

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sat May 17 09:19:22 EDT 2008


     [ http://jira.jboss.com/jira/browse/EJBTHREE-790?page=all ]

Brian Stansberry closed EJBTHREE-790.
-------------------------------------

    Fix Version/s: AS 5.0.0.CR1
                       (was: HEAD)
       Resolution: Done

The bit about including the partition name in the JGroups cluster name was fixed long ago. At this point I'm not going to do anything about the bit I mentioned on analyzing the bean's partition and identifying the correct cache from that. People need to specify the cache's properly (via @CacheConfig) if they deploy more than one partition.

> Include partition name in cluster name of caches
> ------------------------------------------------
>
>                 Key: EJBTHREE-790
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-790
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: EJB 3.0 RC8 - FD
>            Reporter: Ortwin Glück
>         Assigned To: Brian Stansberry
>             Fix For: AS 5.0.0.CR1
>
>   Original Estimate: 10 minutes
>  Remaining Estimate: 10 minutes
>
> For ejb3-entity-cache-service.xml and ejb3-clustered-sfsbcache-service.xml the ClusterName should include the partition name. Here is why:
> We have 3 test instances and the two production cluster nodes within the same subnet (VLAN). The test instances have unique partition names (TEST1, TEST2, TEST3) and the production nodes share a common partition name (PROD).  In the default configuration all five nodes would form a cluster for the entity and SFSB caches. This would severely disrupt data consistency! We have solved this by including the partition name in the cluster name in the cache MBeans:
>     <attribute name="ClusterName">EJB3-entity-cache-${jboss.partition.name:DefaultPartition}</attribute>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list