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

Forget to update memory usage when invalid message #16835

Merged
merged 1 commit into from Jul 29, 2022

Conversation

shoothzj
Copy link
Member

@shoothzj shoothzj commented Jul 28, 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?

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

Copy link
Contributor

@codelipenghui codelipenghui left a comment

Choose a reason for hiding this comment

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

Nice catch.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Lgtm

@shoothzj
Copy link
Member Author

/pulsarbot run-failure-checks

Copy link
Member

@mattisonchao mattisonchao left a comment

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
Member

@gaozhangmin Please take the final look. Thanks!

@pengxiangrui127
Copy link
Contributor

pengxiangrui127 commented Jul 29, 2022 via email

@shoothzj shoothzj merged commit 57b008a into apache:master Jul 29, 2022
@shoothzj shoothzj 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
Member

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

@github-actions
Copy link

github-actions bot commented Aug 5, 2022

@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
Copy link

github-actions bot commented Aug 5, 2022

@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.

None yet