Aetherance commented on PR #3200: URL: https://github.com/apache/dubbo-go/pull/3200#issuecomment-3863052813
使用 issue #3199 相同的测试程序进行测试,输出 ``` Request with tag: not-exist-tag, force: true Response: <nil>, Error: Failed to invoke the method Greet. No provider available for the service tri://:@192.168.1.7:/?interface=greet.GreetService&group=&version= from registry service-discovery-registry://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.id=zookeeper®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=5s®istry.ttl=15m®istry.type=®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false on the consumer 192.168.1.7 using the dubbo version 3.3.1 .Please check if the providers have been started and registered. ``` 同时将测试改为不设置 tag 的普通 rpc 调用,输出 ``` Response: greeting:"Hello Dubbo, (Port: 20001, StaticTag: no-tag)", Error: <nil> ``` force.tag=true 时找不到可用节点返回错误,无tag rpc调用正常,符合预期结果 -- 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]
