Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Branch-2.8][fix][client]Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl #16985

Merged

Conversation

Nicklee007
Copy link
Contributor

Motivation

This PR is part of work of cherry-pick #16837 to branch 2.8
Release memory limit currentUsage in failPendingBatchMessages and avoid duplicate semaphore release in batchMessageAndSend.

Modifications

  1. Release memory limit currentUsage in failPendingBatchMessages ;
  2. delete duplicate semaphore release in batchMessageAndSend;
  3. fix unit test;

Documentation

  • doc-not-needed
    (Please explain why)

@Nicklee007 Nicklee007 changed the title [fix][client]Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl [Branch-2.8][fix][client]Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl Aug 8, 2022
@gaozhangmin gaozhangmin merged commit 723149e into apache:branch-2.8 Aug 9, 2022
@Nicklee007 Nicklee007 deleted the cherry-pick-pr-#16837-to-2.8 branch August 24, 2022 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants