[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1281) Default consistent hash should use a much larger hash space
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Tue Aug 2 04:54:23 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618053#comment-12618053 ]
Galder Zamarreño commented on ISPN-1281:
----------------------------------------
Manik, hashes are 4 byte integer in the protocol, they're not variable length numbers, so I don't see negative numbers being a problem:
https://docs.jboss.org/author/display/ISPN/Hot+Rod+Protocol+-+Version+1#HotRodProtocol-Version1-HashDistributionAwareClientTopologyChangeHeader
> Default consistent hash should use a much larger hash space
> -----------------------------------------------------------
>
> Key: ISPN-1281
> URL: https://issues.jboss.org/browse/ISPN-1281
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Cache
> Affects Versions: 5.0.0.CR8
> Reporter: Manik Surtani
> Assignee: Manik Surtani
> Labels: consistent_hash
> Fix For: 5.0.0.FINAL
>
>
> This is to minimise the collisions as reported in ISPN-1275. It isn't a complete solution but drastically reduces the probability of collision if the hash space spans Integer.MIN_VALUE -> Integer.MAX_VALUE.
--
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