No provider available using dubbo-registry-dns and version=*
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
### Environment
* Dubbo version: 3.0.2.1
* Operating System version: k8s
* Java version: openjdk:11
### Steps to reproduce this issue
1. maven dubbo-registry-dns dependency
2. dubbo-provider @DubboService(version = "1.2.4", protocol = CommonConstants.DUBBO_PROTOCOL)
3. dubbo-consumer @DubboReference(version = "*", protocol = CommonConstants.DUBBO_PROTOCOL, providedBy = "dubbo-provider")
log
```
2021-09-05 01:11:06.496 INFO 1 --- [S-Poll-thread-1] .r.c.e.l.ServiceInstancesChangedListener : [DUBBO] Notify service api.FooBarApi:*:dubbo with urls 0, dubbo version: 3.0.2.1, current host: 10.1.1.29
2021-09-05 01:11:06.497 INFO 1 --- [S-Poll-thread-1] .d.r.c.ServiceDiscoveryRegistryDirectory : [DUBBO] Received empty url list..., dubbo version: 3.0.2.1, current host: 10.1.1.29
2
```
when consumer using '*' version will cause No provider available Exception

Contributor guide
Assessment
This issue has not been assessed yet.