Nicklee007 opened a new pull request, #16972: URL: https://github.com/apache/pulsar/pull/16972
### Motivation This PR is part of work of cherry-pick https://github.com/apache/pulsar/pull/16837 to branch 2.7, and only contain the fix in duplicate semaphore release. Avoid duplicate semaphore release in batchMessageAndSend. ### Modifications 1. delete duplicate semaphore release in batchMessageAndSend; 2. add unit test; ### Documentation - [X] `doc-not-needed` (Please explain why) -- 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]
