erobot commented on pull request #9676: URL: https://github.com/apache/pulsar/pull/9676#issuecomment-804068601
https://github.com/apache/pulsar/blob/430f1f34d353410bb96cddce505b35240f0f3794/pulsar-client-cpp/lib/ProducerImpl.cc#L249-L270 @merlimat getPendingCallbacksWhenFailed is called when message timeouts. This function clears pendingMessagesQueue_ and batchMessageContainer_, so I think releaseSemaphore should be called here as well. -- 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]
