[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 07:55:18 EDT 2011


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

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

Here is the problem:
- KAS registers itself as a view change listener
- on a change of view, KAS cleans the key buffer and regenerates other keys
- the new CH is only installed at a further point in time so keys are being generated on the old CH => stale keys 



> 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