[infinispan-issues] [JBoss JIRA] (ISPN-1827) De-couple cache view installation and state transfer (consistent hash installation)s

Dan Berindei (JIRA) jira-events at lists.jboss.org
Wed Sep 26 13:48:03 EDT 2012


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

Dan Berindei resolved ISPN-1827.
--------------------------------

    Resolution: Done


This was implemented with ISPN-1424 - NBST, although not exactly as described here since we don't have cache views any more.

The consistent hash is now updated to remove leavers immediately, and the state transfer can be started much later (although it happens immediately ATM).
                
> De-couple cache view installation and state transfer (consistent hash installation)s
> ------------------------------------------------------------------------------------
>
>                 Key: ISPN-1827
>                 URL: https://issues.jboss.org/browse/ISPN-1827
>             Project: Infinispan
>          Issue Type: Task
>          Components: State transfer
>    Affects Versions: 5.1.0.FINAL
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.Final
>
>
> We need to know the primary owner of a key in order to do pretty much anything, and every member of a cache view should compute the same primary owner at all times. So we need a 2PC cache view installation immediately after any leave to ensure that every node determines the primary owner in the same way - we can't coalesce leaves.
> However, it's highly desirable to coalesce state transfers caused by a node leaving - perhaps because we are shutting down half of the cluster to do an upgrade. So we should separate the state transfer from the cache view installation, and each one should have its own 2PC process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list