NingleXu opened a new issue, #13060: URL: https://github.com/apache/dubbo/issues/13060
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.2 * Operating System version: win10 * Java version: 1.8 ### Steps to reproduce this issue 在AbstractInvoker的子类中如(DubboInvoker、TripleInvoker)都调用了super.isDestroyed()判断是否destroyed。   但是destoryed字段并没有使用volatile修饰保证可见性,并发环境下可能出现重复执行的问题。  解决方案:加上volatile关键字修饰 ### Expected Behavior <!-- What do you expect from the above steps?--> ### Actual Behavior <!-- What actually happens? --> 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]
