Skip to content

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

Merged
gaozhangmin merged 1 commit into
apache:branch-2.8from
Nicklee007:cherry-pick-pr-#16837-to-2.8
Aug 9, 2022
Merged

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

Conversation

@Nicklee007

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

2 participants