You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/08 10:51:01 UTC

[GitHub] [dubbo] xiaoheng1 commented on issue #8124: Fix the problem that in the Triple protocol, an error will be reported immediately when the service is exposed

xiaoheng1 commented on issue #8124:
URL: https://github.com/apache/dubbo/issues/8124#issuecomment-876337103


   But if we only use initPromise to determine whether the connection is completed, there will be a Connect to %s failed error with a high probability. Because the thread where connection.onConnected is called and org.apache.dubbo.rpc.protocol.tri.TripleInvoker #doInvoke is not in the same thread. So my initial idea is to block the connectTimeout time to ensure that the connection must be available or unavailable.


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