[infinispan-issues] [JBoss JIRA] Commented: (ISPN-977) KeyAffinityService has stale keys when topology changes

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed May 11 08:01:20 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601287#comment-12601287 ] 

Mircea Markus commented on ISPN-977:
------------------------------------

A nice solution for this problem would be for KAS to register as a ConsistenHashChangeListener and not as a ViewChangeListener. This way the key buffer would be cleaned at a proper moment in time. 
There's no such thing as an ConsistenHashChangeListener. This can be implemented either 
a) internally: Observer pattern on DistributionManager or even on DistributionManagerImpl
b) more generically, as a fully flagged listener.

Suggestions?

> KeyAffinityService has stale keys when topology changes
> -------------------------------------------------------
>
>                 Key: ISPN-977
>                 URL: https://issues.jboss.org/browse/ISPN-977
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 4.2.1.CR4
>            Reporter: Mircea Markus
>            Assignee: Mircea Markus
>             Fix For: 5.0.0.FINAL
>
>
> When the KAS is registered for single not cluster, when the cluster increases size, the old keys from KAS are not purged, resulting in an inconsistent key set. 
> Usable UT on the forums: http://community.jboss.org/message/592275#592275

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list