[infinispan-issues] [JBoss JIRA] (ISPN-6688) PreferAvailabilityStrategy: Improve selection of segment owners after merge

Dan Berindei (JIRA) issues at jboss.org
Fri May 20 09:15:01 EDT 2016


Dan Berindei created ISPN-6688:
----------------------------------

             Summary: 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.Alpha3, 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}}.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list