apache / apache/dubbo

为什么Dubbo3.0.10 ZoneAwareClusterInvoke不抛出No provider的异常

Open
#10,874 5 comments 0 reactions 1 assignee Claimed by @Xander-run View on GitHub
help wanted
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

## Ask your question here
在dubbo2.7.5中,如果没有服务提供者的话会抛出“No provider.....”的异常。但是在3.0.10中,如果invokers是空数组的话就会出现数组越界。这个改动是为什么呢?
![image](https://user-images.githubusercontent.com/16982273/199870855-996a5548-8d08-4b77-8299-ca94afa32ea9.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.