[infinispan-issues] [JBoss JIRA] Commented: (ISPN-899) ConsistentHash related improvements
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu Apr 28 05:16:19 EDT 2011
[ https://issues.jboss.org/browse/ISPN-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598665#comment-12598665 ]
Galder Zamarreño commented on ISPN-899:
---------------------------------------
Pete,
I do need the hash space to be able to send it back to clients, so that they can apply CHA in the same way as the server does. It's amongst the info we send back to the client as per the spec: http://community.jboss.org/wiki/HotRodProtocol
Similar thing for getHashId - I need the ids of the nodes in the cluster to be able to send back a topology with these hash ids. The clients can then use this info to calculate the hash of a key and see who it belongs to.
So, I'd reject this unless you want HotRod to use other mechanisms?
> 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: Galder Zamarreño
> 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