[infinispan-issues] [JBoss JIRA] (ISPN-7998) Multi-key write commands assume all segments have CH.getNumOwners() owners
Pedro Ruivo (JIRA)
issues at jboss.org
Wed Jul 12 06:30:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Ruivo updated ISPN-7998:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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.1.0.Beta1, 9.0.3.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.1.0.Final
>
>
> 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