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 2021/12/25 14:39:47 UTC

[GitHub] [pulsar] aloyszhang opened a new pull request #13505: fix reousrce leak when create producer failed

aloyszhang opened a new pull request #13505:
URL: https://github.com/apache/pulsar/pull/13505


   
   
   Fixes #13214
   
   ### Motivation
   
   When client create producer failed caused by connection failed, topic terminated, or produce fenced. There are some resources that are not released in the client.
   
   ### Modifications
   
   When creating producer failed.
   1. stop the sendTimout  task
   2. cancel the batchTimerTask
   3. cancel the keyGeneratorTask
   4. cancel the statTimeout task
   
   
   


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



[GitHub] [pulsar] aloyszhang commented on pull request #13505: fix reousrce leak when create producer failed

Posted by GitBox <gi...@apache.org>.
aloyszhang commented on pull request #13505:
URL: https://github.com/apache/pulsar/pull/13505#issuecomment-1001088225


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] github-actions[bot] commented on pull request #13505: fix reousrce leak when create producer failed

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #13505:
URL: https://github.com/apache/pulsar/pull/13505#issuecomment-1001027648


   @aloyszhang:Thanks for providing doc info!


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



[GitHub] [pulsar] github-actions[bot] commented on pull request #13505: fix reousrce leak when create producer failed

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #13505:
URL: https://github.com/apache/pulsar/pull/13505#issuecomment-1001026609


   @aloyszhang:Thanks for your contribution. For this PR, do we need to update docs?
   (The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)


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



[GitHub] [pulsar] codelipenghui merged pull request #13505: fix resources leak when create producer failed

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #13505:
URL: https://github.com/apache/pulsar/pull/13505


   


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