You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/15 08:51:10 UTC

[GitHub] [pulsar] lhotari opened a new issue, #18938: [Bug][Java client] Possible race condition in closing consumer which causes a leak in memory limit controller and direct memory with pooled messages

lhotari opened a new issue, #18938:
URL: https://github.com/apache/pulsar/issues/18938

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   master
   
   ### Minimal reproduce step
   
   This was an issue that came up in PR review comment https://github.com/apache/pulsar/pull/18928#discussion_r1049324152
   
   ### What did you expect to see?
   
   There shouldn't be a race between org.apache.pulsar.client.impl.ConsumerImpl#closeAsync and org.apache.pulsar.client.impl.ConsumerImpl#messageReceived .
   
   
   
   ### What did you see instead?
   
   It's possible that closeAsync and messageReceived are in a race and incoming messages don't get properly cleaned up. This can cause a leak in the memory limit controller and also leak direct memory.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #18938: [Bug][Java client] Possible race condition in closing consumer which causes a leak in memory limit controller and direct memory with pooled messages

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #18938:
URL: https://github.com/apache/pulsar/issues/18938#issuecomment-1383023552

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org