]
Tristan Tarrant updated ISPN-7553:
----------------------------------
Fix Version/s: 9.2.0.Final
(was: 9.1.0.Final)
Replicated cache with numOwners=1 doesn't send writes to backups
----------------------------------------------------------------
Key: ISPN-7553
URL:
https://issues.jboss.org/browse/ISPN-7553
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 9.2.0.Final
{{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.