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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 9.0.0.CR3, 9.0.0.Final
    • 9.0.0.CR2
    • Core
    • None

    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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: