You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In dubbo-2.7 tag route, dubbo 2.6 client invoke 2.7 server work well but dubbo 2.7 client invoke 2.6 donot work well #3231
if (CollectionUtils.isEmpty(invokers)) {
return invokers;
}
if (tagRouterRule == null || !tagRouterRule.isValid() || !tagRouterRule.isEnabled()) {
return invokers;
}
没在ops里配置路由规则的时候,需要继续往下走。
----transplate here
Under tag route, dubbo2.6 calls dubbo2.7 server as client, routing rules have been effective; dubbo2.7 as client calls dubbo2.6 routing rules have not taken effect. (In dubbo2.7, ops is not configured with routing rules, only by applying the url tag).
Found the problem code, org.apache.dubbo.rpc.cluster.router.tag.TagRouter:
if (CollectionUtils.isEmpty(invokers)) {
return invokers;
}
if (tagRouterRule == null || !tagRouterRule.isValid() || !tagRouterRule.isEnabled()) {
return invokers;
}
When you do not configure routing rules in ops, you need to continue down.
changed the title [-]In dubbo-2.7 tag route, dubbo 2.6 client invoke 2.7 server is well but dubbo 2.7 client invoke 2.6 donot work well[/-][+]In dubbo-2.7 tag route, dubbo 2.6 client invoke 2.7 server work well but dubbo 2.7 client invoke 2.6 donot work well[/+]on Jan 15, 2019
Activity
[-]In dubbo-2.7 tag route, dubbo 2.6 client invoke 2.7 server is well but dubbo 2.7 client invoke 2.6 donot work well[/-][+]In dubbo-2.7 tag route, dubbo 2.6 client invoke 2.7 server work well but dubbo 2.7 client invoke 2.6 donot work well[/+]cvictory commentedon Jan 15, 2019
In dubbo 2.6 , there are some key points in this class com.alibaba.dubbo.rpc.cluster.directory.AbstractDirectory.
so should we keep this logic code ?
chickenlj commentedon Jan 15, 2019