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.9][fix][client] Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl. #16971

Merged

Conversation

Nicklee007
Copy link
Contributor

Motivation

This PR is part of work of cherry-pick #16837 to branch 2.9
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)

@gaozhangmin gaozhangmin merged commit 752225a into apache:branch-2.9 Aug 8, 2022
@mattisonchao
Copy link
Member

Very thanks to you. @Nicklee007

@mattisonchao mattisonchao added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Aug 10, 2022
@Nicklee007 Nicklee007 deleted the cherry-pick-PR#16837-to-2.9 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
cherry-picked/branch-2.9 Archived: 2.9 is end of life release/2.9.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants