]
Vladimir Blagojevic updated ISPN-6688:
--------------------------------------
Fix Version/s: 9.0.0.Alpha4
(was: 9.0.0.Alpha3)
PreferAvailabilityStrategy: Improve selection of segment owners after
merge
---------------------------------------------------------------------------
Key: ISPN-6688
URL:
https://issues.jboss.org/browse/ISPN-6688
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.2.2.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Alpha4, 9.0.0.Final
{{PreferAvailabilityStrategy}} picks a winning CH after merge, but that CH is very likely
to be the wrong one. We should improve our odds at preserving cache data by mixing CHs,
and keeping from each node's response only the information about the segments it owns
itself.
The downside is that {{PreferAvailabilityStrategy}} becomes tightly coupled with
{{DefaultConsistentHash}}/{{ReplicatedConsistentHash}}, and users that want to add custom
{{ConsistentHash}} implementations will have to re-implement
{{PreferAvailabilityStrategy}}.