xiaoheng1 opened a new issue #8124: URL: https://github.com/apache/dubbo/issues/8124
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0 * Operating System version: macos * Java version: 1.8 When using the Triple protocol, calling the refer method will generate a connection instance. But connection#isAvailable takes effect when channelActive is called back. But actually in the ConnectionListener, if the future is successful, the channel is already available. So I think it should be in the org.apache.dubbo.remoting.api.Connection.ConnectionListener#operationComplete method, for example: ``` public void operationComplete(ChannelFuture future) { if (future.isSuccess()) { onConnected(future.channel()); return; } ....... } ``` -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
