You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/03/04 10:10:14 UTC
[GitHub] [incubator-brpc] hairet opened a new issue #678: 关于一致性hash只支持32位key问题
hairet opened a new issue #678: 关于一致性hash只支持32位key问题
URL: https://github.com/apache/incubator-brpc/issues/678
**Describe the bug (描述bug)**
现在https://github.com/apache/incubator-brpc/blob/master/src/brpc/policy/consistent_hashing_load_balancer.cpp里面会有32位hash key限制

**To Reproduce (复现方法)**
**Expected behavior (期望行为)**
想问下只支持32位是处于什么考虑,因为现在我们这边想自行改成64位,初看就是把相关变量以及Node.hash以及ConsistentHashingLoadBalancer::_hash函数改成64位即可
想问下还有没有别的坑
**Versions (各种版本)**
OS:
Compiler:
brpc:
protobuf:
**Additional context/screenshots (更多上下文/截图)**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org