AlexStocks commented on code in PR #1075:
URL:
https://github.com/apache/incubator-seata-go/pull/1075#discussion_r3004224776
##########
pkg/remoting/loadbalance/loadbalance.go:
##########
@@ -39,6 +39,10 @@ func Select(loadBalanceType string, sessions *sync.Map, xid
string) getty.Sessio
return XidLoadBalance(sessions, xid)
case roundRobinLoadBalance:
return RoundRobinLoadBalance(sessions, xid)
+ case consistentHashLoadBalance:
Review Comment:
[P0] 修复缺失的负载均衡策略分发。ConsistentHash 和 LeastActive 策略未在 Select 中分发,导致回退到 Random。
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]