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 2020/03/06 00:59:51 UTC
[GitHub] [pulsar] rdhabalia opened a new pull request #6488: [pulsar-client]
fix deadlock on send failure
rdhabalia opened a new pull request #6488: [pulsar-client] fix deadlock on send failure
URL: https://github.com/apache/pulsar/pull/6488
### Motivation
As explained in #6360 , producer is not releasing semaphore on various failure condition and because of that send-message thread gets blocked on semaphore by producer and can't send any more messages.
### Modification
Release semaphore by handling failure send callback. Also added test which fails without this change.
### Result
Producer will not block send on failure scenario.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] jiazhai commented on issue #6488: [pulsar-client] fix
deadlock on send failure
Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6488: [pulsar-client] fix deadlock on send failure
URL: https://github.com/apache/pulsar/pull/6488#issuecomment-598574255
cherry-picked into branch-2.5
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] rdhabalia merged pull request #6488: [pulsar-client] fix
deadlock on send failure
Posted by GitBox <gi...@apache.org>.
rdhabalia merged pull request #6488: [pulsar-client] fix deadlock on send failure
URL: https://github.com/apache/pulsar/pull/6488
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services