[infinispan-issues] [JBoss JIRA] Updated: (ISPN-352) Add per-cache coordinator.

Alexander Gavrilov (JIRA) jira-events at lists.jboss.org
Wed Feb 24 12:03:10 EST 2010


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

Alexander Gavrilov updated ISPN-352:
------------------------------------

    Description: We trying to use Infinispan for our cluster. We have two types of nodes in cluster. "Type 1" nodes use all set of caches defined in system, but   "Type 2" nodes uses only small subset of caches. For each cache on each node we have job, that fetch data from external store and put that data in the cache. We need this job to be executed only in one node from whole cluster and is natural to test if node is cache coordinator and execute job only if it is. In current implementation it's possible to determinate only cluster coordinator. But when node of  "Type 2" becomes coordinator it is impossible to update some caches, because they are not defined in this node. It would be fine to declare not only oldest node in cluster as cluster coordinator but oldest node containing cache as this concrete cache coordinator.    (was: We trying to use Infinispan for our cluster. We have two types of nodes in cluster. "Type 1" nodes use all set of caches defined in system, but   "Type 2" nodes uses only small subset of nodes. For each cache on each node we have job, that fetch data from external store and put that data in the cache. We need this job to be executed only in one node from whole cluster and is natural to test if node is cache coordinator and execute job only if it is. In current implementation it's possible to determinate only cluster coordinator. But when node of  "Type 2" becomes coordinator it is impossible to update some caches, because they are not defined in this node. It would be fine to declare not only oldest node in cluster as cluster coordinator but oldest node containing cache as this concrete cache coordinator.  )


> Add per-cache coordinator.
> --------------------------
>
>                 Key: ISPN-352
>                 URL: https://jira.jboss.org/jira/browse/ISPN-352
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Core API
>            Reporter: Alexander Gavrilov
>            Assignee: Manik Surtani
>
> We trying to use Infinispan for our cluster. We have two types of nodes in cluster. "Type 1" nodes use all set of caches defined in system, but   "Type 2" nodes uses only small subset of caches. For each cache on each node we have job, that fetch data from external store and put that data in the cache. We need this job to be executed only in one node from whole cluster and is natural to test if node is cache coordinator and execute job only if it is. In current implementation it's possible to determinate only cluster coordinator. But when node of  "Type 2" becomes coordinator it is impossible to update some caches, because they are not defined in this node. It would be fine to declare not only oldest node in cluster as cluster coordinator but oldest node containing cache as this concrete cache coordinator.  

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

       



More information about the infinispan-issues mailing list