Skip to content

[Branch-2.9][fix][client] Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl. - #16971

Merged
gaozhangmin merged 1 commit into
apache:branch-2.9from
Nicklee007:cherry-pick-PR#16837-to-2.9
Aug 8, 2022
Merged

[Branch-2.9][fix][client] Fix client memory limit currentUsage leak and semaphore release duplicated in ProducerImpl.#16971
gaozhangmin merged 1 commit into
apache:branch-2.9from
Nicklee007:cherry-pick-PR#16837-to-2.9

Conversation

@Nicklee007

Copy link
Copy Markdown
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
Copy Markdown
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.

5 participants