Skip to content

Forget to update memory usage when invalid message#16835

Merged
hezhangjian merged 1 commit into
apache:masterfrom
hezhangjian:fix-memory-release
Jul 29, 2022
Merged

Forget to update memory usage when invalid message#16835
hezhangjian merged 1 commit into
apache:masterfrom
hezhangjian:fix-memory-release

Conversation

@hezhangjian

@hezhangjian hezhangjian commented Jul 28, 2022

Copy link
Copy Markdown
Member

Modifications

release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

Verifying this change

  • add unit tests for this change

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-not-needed
    bug fix, no need doc

@hezhangjian hezhangjian self-assigned this Jul 28, 2022

@codelipenghui codelipenghui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@hezhangjian

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@mattisonchao mattisonchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@mattisonchao

Copy link
Copy Markdown
Member

@gaozhangmin Please take the final look. Thanks!

@mattisonchao
mattisonchao requested a review from gaozhangmin July 29, 2022 02:11
@pengxiangrui127

pengxiangrui127 commented Jul 29, 2022 via email

Copy link
Copy Markdown
Contributor

@hezhangjian
hezhangjian merged commit 57b008a into apache:master Jul 29, 2022
@hezhangjian
hezhangjian deleted the fix-memory-release branch July 29, 2022 02:43
Gleiphir2769 pushed a commit to Gleiphir2769/pulsar that referenced this pull request Aug 4, 2022
### Modifications
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

### Verifying this change
- add unit tests for this change

### Documentation

Check the box below or label this PR directly.

Need to update docs? 
  
- [x] `doc-not-needed` 
bug fix, no need doc
@mattisonchao

Copy link
Copy Markdown
Member

@shoothzj Could you please help cherry-pick this PR to branch-2.9?

@github-actions

github-actions Bot commented Aug 5, 2022

Copy link
Copy Markdown

@shoothzj Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

BewareMyPower pushed a commit that referenced this pull request Aug 5, 2022
### Modifications
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

### Verifying this change
- add unit tests for this change

### Documentation

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
@BewareMyPower BewareMyPower added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Aug 5, 2022
@github-actions

github-actions Bot commented Aug 5, 2022

Copy link
Copy Markdown

@shoothzj Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

codelipenghui pushed a commit that referenced this pull request Aug 8, 2022
### Modifications
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

### Verifying this change
- add unit tests for this change

### Documentation

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Aug 16, 2022
### Modifications
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

### Verifying this change
- add unit tests for this change

### Documentation

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
(cherry picked from commit 72af22c)
congbobo184 pushed a commit that referenced this pull request Nov 10, 2022
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

- add unit tests for this change

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
@congbobo184 congbobo184 added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Nov 10, 2022
congbobo184 pushed a commit that referenced this pull request Dec 1, 2022
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

- add unit tests for this change

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
gaozhangmin pushed a commit to gaozhangmin/pulsar that referenced this pull request Apr 6, 2023
release memory usage when invalid message.
Only need to release memory usage here, no need to release semaphore. Both add testcases.

coauthored by @pengxiangrui127.

- add unit tests for this change

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
bug fix, no need doc

(cherry picked from commit 57b008a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.