[
http://jira.jboss.com/jira/browse/EJBTHREE-790?page=all ]
Brian Stansberry updated EJBTHREE-790:
--------------------------------------
Assignee: Brian Stansberry
Absolutely. I've been messing in this area in the last week or so, noticed this and
meant to open a JIRA. Thanks!
Full solution needs to reflect the fact that there may be more than one partition on the
same server with clustered EJBs deployed. Thus there would need to be more than one
cache, and the cache integration code would need to know how to pick the correct cache.
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
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