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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 9.0.0.Final
    • 9.0.0.Final
    • Core
    • None

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: