YanYunyang opened a new pull request, #8367: URL: https://github.com/apache/rocketmq/pull/8367
… a channel, no longer acquire a read lock. <!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes <!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. --> Fixes #8366 ### Brief Description <img width="858" alt="截屏2024-07-05 15 38 50" src="https://github.com/apache/rocketmq/assets/11780013/9414ae94-a62c-43fd-9f43-d4da1d25483a"> `ChannelWrapper.getChannel()` needs to hold the read lock. When determining if `ChannelWrapper` is the wrapper for a channel, no longer acquire a read lock. <!-- Write a brief description for your pull request to help the maintainer understand the reasons behind your changes. --> -- 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: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org