zyearn commented on a change in pull request #592: lb configurable &&
consistency hash lb refactor
URL: https://github.com/apache/incubator-brpc/pull/592#discussion_r273453006
##########
File path: src/brpc/policy/hasher.cpp
##########
@@ -157,6 +165,10 @@ const char *GetHashName(uint32_t (*hasher)(const void*
key, size_t len)) {
if (hasher == CRCHash32) {
return "crc32";
}
+ if (hasher == KetamaHash) {
+ return "ketama";
+ }
Review comment:
这个还有用吗
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]