[infinispan-issues] [JBoss JIRA] (ISPN-2420) Increment the topology id when a node leaves the cache

Dan Berindei (JIRA) jira-events at lists.jboss.org
Tue Jan 22 07:13:21 EST 2013


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

Dan Berindei updated ISPN-2420:
-------------------------------

    Fix Version/s: 5.2.0.CR2
                       (was: 6.0.0.Final)

    
> Increment the topology id when a node leaves the cache
> ------------------------------------------------------
>
>                 Key: ISPN-2420
>                 URL: https://issues.jboss.org/browse/ISPN-2420
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: State transfer
>    Affects Versions: 5.2.0.Beta2
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.CR2
>
>
> We currently increment the topology id only when we "rebalance" the consistent hash (i.e. we add new owners). This allows us to to do some optimizations after a leave, like not forwarding commands (because there are no new owners).
> Unfortunately, it is not very intuitive, because it doesn't match how JGroups works, so it can cause bugs like ISPN-2417.
> Additionally, it turns out there are many places where we care that a node left, so the code is more complex to handle this (e.g. TransactionTable.useStrictTopologyIdComparison()), or it is more slow for the common case when there is no leaver (e.g. LocalTransaction.getCommitNodes()).

--
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