[infinispan-issues] [JBoss JIRA] (ISPN-7998) Multi-key write commands assume all segments have CH.getNumOwners() owners

Dan Berindei (JIRA) issues at jboss.org
Thu Jun 29 09:12:00 EDT 2017


Dan Berindei created ISPN-7998:
----------------------------------

             Summary: Multi-key write commands assume all segments have CH.getNumOwners() owners
                 Key: ISPN-7998
                 URL: https://issues.jboss.org/browse/ISPN-7998
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.0.3.Final, 9.1.0.Beta1
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 9.1.0.CR1


When handling multi-key write commands, both {{TriangleDistributionInterceptor}} and {{NonTxDistributionInterceptor}} assume that there are no backup owners when {{consistentHash.getNumOwners() == 1}}. But during rebalance some segments can have more than {{getNumOwners()}} owners, as the write CH is a union of the current and future CHs, while {{getNumOwners()}} always returns the value in the cache configuration.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list