iqinning opened a new issue, #7736: URL: https://github.com/apache/dubbo/issues/7736
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [x] 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: 2.7.6+ * Operating System version: osx 11.2.3 * Java version: 1.8 ### Steps to reproduce this issue 1. start provider 2. config consumer lazyclient_request_with_warning=false 3. start consumer 3. stop provider & stop provider 4. consumer call provider method more then 5000 times Pls. provide [GitHub address] to reproduce this issue. ### Expected Result no lazyclient_request_with_warning logs ### Actual Result What actually happens? lazyclient_request_with_warning=false is replaced by : private void replaceWithLazyClient() { // this is a defensive operation to avoid client is closed by accident, the initial state of the client is false URL lazyUrl = url.addParameter(LAZY_CONNECT_INITIAL_STATE_KEY, Boolean.TRUE) //.addParameter(RECONNECT_KEY, Boolean.FALSE) .addParameter(SEND_RECONNECT_KEY, Boolean.TRUE.toString()) .addParameter(LazyConnectExchangeClient.REQUEST_WITH_WARNING_KEY, true); /** * the order of judgment in the if statement cannot be changed. */ if (!(client instanceof LazyConnectExchangeClient) || client.isClosed()) { client = new LazyConnectExchangeClient(lazyUrl, client.getExchangeHandler()); } } If there is an exception, please attach the exception trace: ``` Just put your stack trace here! ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
