[
https://issues.jboss.org/browse/ISPN-977?page=com.atlassian.jira.plugin.s...
]
Mircea Markus edited comment on ISPN-977 at 5/11/11 8:03 AM:
-------------------------------------------------------------
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 support for ConsistenHashChangeListener at the moment. This can be
implemented either
a) internally: Observer pattern on DistributionManager or even on DistributionManagerImpl
b) more generically, as a fully flagged listener.
Suggestions?
was (Author: mircea.markus):
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