Search before asking
Version
master
Minimal reproduce step
This was an issue that came up in PR review comment #18928 (comment)
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?
Search before asking
Version
master
Minimal reproduce step
This was an issue that came up in PR review comment #18928 (comment)
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?