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

Replicated cache with numOwners=1 doesn't send writes to backups

    Details

      Description

      BaseDistributionInterceptor.primaryReturnHandler() doesn't replicate writes to the backups if cacheConfiguration.clustering().hash().numOwners() == 1. That check is incorrect, because a segment can have more owners than configured:

      1. In a replicated cache, the configured numOwners is ignored, and all the members are owners.
      1. Even in a distributed cache, during rebalance, the segments being moved will have more than numOwners owners.

        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: