You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "linjianming02 (via GitHub)" <gi...@apache.org> on 2023/03/03 07:22:54 UTC

[GitHub] [dubbo] linjianming02 opened a new issue, #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错

linjianming02 opened a new issue, #11713:
URL: https://github.com/apache/dubbo/issues/11713

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.1.7
   * Operating System version: xxx
   * Java version: jdk1.8
   
   ### Steps to reproduce this issue
   
   1. 将consumer和provider同时从2.7.9升级到3.1.7。此时业务正常。
   2. 将provider回滚到2.7.9。此时consumer端出现报错。
   ![image](https://user-images.githubusercontent.com/59606572/222655415-18b6a982-269d-45ff-8fd4-a7819b4a9a6d.png)
   ![image](https://user-images.githubusercontent.com/59606572/222656358-6056d058-c997-4a2b-ae29-cd8a7a94e657.png)
   3. 这里的服务部署是通过容器部署的,并且每次重新部署ip地址会重新变更。报错日志的ip地址在对应provider已经找不到了。说明这里调用的地址是曾经provider的地址。  所以我初步怀疑是不是哪里缓存的地址没有更新导致的。
   


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #11713:
URL: https://github.com/apache/dubbo/issues/11713#issuecomment-1455564480

   这个是 2.7.9 的一个 bug,在 3.x 中已经修复


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错 [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错
URL: https://github.com/apache/dubbo/issues/11713


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] linjianming02 commented on issue #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错

Posted by "linjianming02 (via GitHub)" <gi...@apache.org>.
linjianming02 commented on issue #11713:
URL: https://github.com/apache/dubbo/issues/11713#issuecomment-1455582468

   > 这个是由于 3.x 中默认接口级应用级多注册多订阅,在两端都升级到 3.x 以后自动切换到应用级服务发现的模型。 但是由于 3.x 的 provider 降级了,之前 Nacos 注册中心因为 Nacos 自身的高可用存在问题可能导致运行时推送空地址,在 Dubbo 侧做了推空保护,这样的话导致降级以后应用级服务发现模型下的地址永远不会为空,出现日志中的问题。 在 3.2 中已经默认关闭了推空保护,3.1 可以通过在注册中心参数上配置 `enable-empty-protection=false` 来关闭推空保护。
   
   ZK作为注册中心也可以通过这个参数来解决的是吧


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #11713:
URL: https://github.com/apache/dubbo/issues/11713#issuecomment-1455569000

   这个是由于 3.x 中默认接口级应用级多注册多订阅,在两端都升级到 3.x 以后自动切换到应用级服务发现的模型。
   但是由于 3.x 的 provider 降级了,之前 Nacos 注册中心因为 Nacos 自身的高可用存在问题可能导致运行时推送空地址,在 Dubbo 侧做了推空保护,这样的话导致降级以后应用级服务发现模型下的地址永远不会为空,出现日志中的问题。
   在 3.2 中已经默认关闭了推空保护,3.1 可以通过在注册中心参数上配置 `enable-empty-protection=false` 来关闭推空保护。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11713: 当provider从3.1.7降级到2.7.9的时候3.1.7的consumer出现持续性报错

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #11713:
URL: https://github.com/apache/dubbo/issues/11713#issuecomment-1456014079

   > > 这个是由于 3.x 中默认接口级应用级多注册多订阅,在两端都升级到 3.x 以后自动切换到应用级服务发现的模型。 但是由于 3.x 的 provider 降级了,之前 Nacos 注册中心因为 Nacos 自身的高可用存在问题可能导致运行时推送空地址,在 Dubbo 侧做了推空保护,这样的话导致降级以后应用级服务发现模型下的地址永远不会为空,出现日志中的问题。 在 3.2 中已经默认关闭了推空保护,3.1 可以通过在注册中心参数上配置 `enable-empty-protection=false` 来关闭推空保护。
   > 
   > ZK作为注册中心也可以通过这个参数来解决的是吧
   
   是的,功能做的时候把 zk 也做上了


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org