You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "LYC-CLamDown (GitHub)" <gi...@apache.org> on 2019/08/15 00:48:10 UTC

[GitHub] [dubbo] LYC-CLamDown commented on issue #4714: 高频交易下,优雅停机偶发调用失败逻辑问题

> 也许你可以通过增长`dubbo.service.shutdown.wait`来解决你的问题.优雅关机会等待一段时间(`dubbo.service.shutdown.wait`)以处理已到达的请求然后再关闭channel.

这个时间是用来等待在途交易完成,功能不一样。而且没办法从根本解决这个问题,通过sendreadonly事件可以等价于关闭业务channel, 不会再有业务进入。
目前我是加了一个在registryprotocol加了beforeDestory接口发送事件,但感觉不够优雅

[ Full content available at: https://github.com/apache/dubbo/issues/4714 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org