[infinispan-issues] [JBoss JIRA] Reopened: (ISPN-899) ConsistentHash related improvements

Jason Greene (JIRA) jira-events at lists.jboss.org
Mon Apr 25 15:26:18 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene reopened ISPN-899:
-------------------------------



The infinispan project no longer builds because of this:

NFO] Compiling 11 source files to /Users/jason/devel/infinispan/server/hotrod/target/classes at 1303759054531
[ERROR] /Users/jason/devel/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodEncoder.scala:117: error: value getHashSpace is not a member of org.infinispan.distribution.ch.ConsistentHash
[INFO]                      val hashSpace = cache.getAdvancedCache.getDistributionManager.getConsistentHash.getHashSpace
[INFO]                                                                                                      ^
[ERROR] /Users/jason/devel/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodServer.scala:153: error: value getHashId is not a member of org.infinispan.distribution.ch.ConsistentHash
[INFO]                hashIds += (hashIdKey -> cacheDm.getConsistentHash.getHashId(clusterAddress))
[INFO]                                                                   ^


> ConsistentHash related improvements
> -----------------------------------
>
>                 Key: ISPN-899
>                 URL: https://issues.jboss.org/browse/ISPN-899
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Distributed Cache
>    Affects Versions: 4.2.0.Final
>            Reporter: Mircea Markus
>            Assignee: Pete Muir
>             Fix For: 5.0.0.CR1, 5.0.0.FINAL
>
>
> Following methods of CH are no longer used in the code base:
>    int getHashId(Address a);
>    int getHashSpace();
> They should be removed.
> Also AbstractConsistentHash.getCaches can/should be added in the abstract implementation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list