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

[GitHub] [dubbo-go] shenchao861129 opened a new issue, #2328: Consumer依然会调用已下线Provider的问题

shenchao861129 opened a new issue, #2328:
URL: https://github.com/apache/dubbo-go/issues/2328

   ### Environment
   
   - Server: Dubbo-go, v3.0.2
   - Client: Dubbo-go, v3.0.2
   - Registry: ZooKeeper
   
   ### 我们在线上发现了Consumer依然会调用已下线Provider的问题。
   现象如下:B服务会调用A服务,A服务的A1实例下线后,B服务中的部分实例,如B2、B3依然会调用已下线,B1则不会。
   
   经过对dubbo的日志进行分析,发现实例B2、B3在(Remove invoker key)移除A1后,又进行了(Registry Directory)注册,而B1则不会。
   
   
   ### Logs
   #B1 正常,不会继续调用已下线的A1
   ![image](https://github.com/apache/dubbo-go/assets/834323/cefcbdc4-2e4a-4b2e-ad18-35363bf24e27)
   #B2 异常,会继续调用已下线的A1
   ![image](https://github.com/apache/dubbo-go/assets/834323/c59d5d18-16b2-46d7-a229-4c144c36053c)
   #B3 异常,会继续调用已下线的A1
   ![image](https://github.com/apache/dubbo-go/assets/834323/a77ac036-45a5-47ad-9346-10c1ef935801)
   


-- 
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-go] bobtthp commented on issue #2328: Consumer依然会调用已下线Provider的问题

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

   > 同步下最新进展,我们现在暂时调整了服务部署的策略,避免部署时同时启动或者下掉多个pod,目前看效果很好,不会再出现上面这个问题。但是现在调整部署策略也只是临时方案。还是希望能定位到具体问题。
   > 
   > <img alt="image" width="379" src="https://user-images.githubusercontent.com/834323/250019255-c9ed7f8c-a467-4be0-b458-0a20982e18fc.png">
   
   目前看下来,感觉逻辑是没有问题的,和用户沟通了下,可能场景在批量下线问题出现几率更大。
   准备搞个 demo 测试一下,看是否可以复现
   


-- 
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-go] justxuewei commented on issue #2328: Consumer依然会调用已下线Provider的问题

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

   @bobtthp Could you follow up on this issue?


-- 
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-go] bobtthp commented on issue #2328: Consumer依然会调用已下线Provider的问题

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

   > @bobtthp Could you follow up on this issue?
   
   ok


-- 
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-go] shenchao861129 commented on issue #2328: Consumer依然会调用已下线Provider的问题

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

   同步下最新进展,我们现在暂时调整了服务部署的策略,避免部署时同时启动或者下掉多个pod,目前看效果很好,不会再出现上面这个问题。但是现在调整部署策略也只是临时方案。还是希望能定位到具体问题。


-- 
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