Hi,@carryxyh
l meant the AbstractClusterInvoker (eg) not the AbstractLoadBalance.
Shall we go a little further?Move prepositional logic into
AbstractLoadBalance.select or remove completely ~
```java
private Invoker<T> doSelect(LoadBalance loadbalance, Invocation
invocation,
List<Invoker<T>> invokers, List<Invoker<T>>
selected) throws RpcException {
if (CollectionUtils.isEmpty(invokers)) {
return null;
}
if (invokers.size() == 1) {
return invokers.get(0);
}
Invoker<T> invoker = loadbalance.select(invokers, getUrl(), invocation);
```
[ Full content available at:
https://github.com/apache/incubator-dubbo/issues/1861 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]