Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6688

PreferAvailabilityStrategy: Improve selection of segment owners after merge

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 8.2.2.Final
    • Fix Version/s: 9.2.1.Final
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: