cdjingit commented on a change in pull request #592: lb configurable &&
consistency hash lb refactor
URL: https://github.com/apache/incubator-brpc/pull/592#discussion_r273807484
##########
File path: src/brpc/load_balancer.h
##########
@@ -179,6 +184,16 @@ inline Extension<const LoadBalancer>*
LoadBalancerExtension() {
return Extension<const LoadBalancer>::instance();
}
+inline bool SplitLoadBalancerParameters(const butil::StringPiece& params,
Review comment:
那先移到函数内实现吧?split stringpiece 到 stringpiece vector / stringpiece map 和string
vector / string map 这些工具好像都没有,目前我们有需要使用的场景,后面统一提一个mr?
----------------------------------------------------------------
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]