[
https://issues.jboss.org/browse/ISPN-1092?page=com.atlassian.jira.plugin....
]
Dan Berindei updated ISPN-1092:
-------------------------------
Assignee: Dan Berindei (was: Pete Muir)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/334
* I updated TopologyAwareConsistentHash to always return less than the number of nodes in
the cluster.
* I changed the algorithm so that it tries to find owners on as many different sites,
racks and machines possible - before it was only searching for a site, rack or machine
different from the first owner's.
* I changed AbstractWheelConsistentHash to make it to support virtual nodes better, so now
DefaultConsistentHash also supports virtual nodes.
TopologyAwareConsistentHash with virtual nodes enabled can return two
owners for a key when there is only one node in the cluster
---------------------------------------------------------------------------------------------------------------------------------
Key: ISPN-1092
URL:
https://issues.jboss.org/browse/ISPN-1092
Project: Infinispan
Issue Type: Bug
Components: Distributed Cache
Affects Versions: 5.0.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Minor
See org.infinispan.distribution.vnodes.VNodesCHPerfTest.testSpeed(), it fails when
numNodes == 1 and numOwners == 2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira